2 writes to _telemetryClient
Microsoft.Extensions.AI.Evaluation.Console (2)
Telemetry\TelemetryHelper.cs (2)
41_telemetryClient = new TelemetryClient(_telemetryConfiguration); 68_telemetryClient = null;
6 references to _telemetryClient
Microsoft.Extensions.AI.Evaluation.Console (6)
Telemetry\TelemetryHelper.cs (6)
24[MemberNotNullWhen(false, nameof(_telemetryConfiguration), nameof(_telemetryClient), nameof(_commonProperties))] 59_telemetryClient.Context.Session.Id = Guid.NewGuid().ToString(); 60_telemetryClient.Context.Device.OperatingSystem = RuntimeInformation.OSDescription; 109_telemetryClient.TrackEvent( 134_telemetryClient.TrackException(exception, combinedProperties, metrics); 151return await _telemetryClient.FlushAsync(cancellationToken).ConfigureAwait(false);