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);
151
return await
_telemetryClient
.FlushAsync(cancellationToken).ConfigureAwait(false);