1 write to _activitySource
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryImageGenerator.cs (1)
59
_activitySource
= new(name);
4 references to _activitySource
Microsoft.Extensions.AI (4)
ChatCompletion\OpenTelemetryImageGenerator.cs (4)
86
_activitySource
.Dispose();
112
serviceType == typeof(ActivitySource) ?
_activitySource
:
147
if (
_activitySource
.HasListeners())
151
activity =
_activitySource
.StartActivity(