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(); 112serviceType == typeof(ActivitySource) ? _activitySource : 147if (_activitySource.HasListeners()) 151activity = _activitySource.StartActivity(