1 write to _activitySource
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
65
_activitySource
= new(name);
4 references to _activitySource
Microsoft.Extensions.AI (4)
ChatCompletion\OpenTelemetryChatClient.cs (4)
95
_activitySource
.Dispose();
118
serviceType == typeof(ActivitySource) ?
_activitySource
:
214
if (
_activitySource
.HasListeners())
218
activity =
_activitySource
.StartActivity(