20 references to TelemetryConstants
Microsoft.Extensions.AI.Evaluation.Console (20)
Commands\CleanCacheCommand.cs (1)
16using static Microsoft.Extensions.AI.Evaluation.Console.Telemetry.TelemetryConstants;
Commands\CleanResultsCommand.cs (1)
16using static Microsoft.Extensions.AI.Evaluation.Console.Telemetry.TelemetryConstants;
Commands\ReportCommand.cs (1)
21using static Microsoft.Extensions.AI.Evaluation.Console.Telemetry.TelemetryConstants;
Telemetry\TelemetryExtensions.cs (7)
17value ? TelemetryConstants.PropertyValues.True : TelemetryConstants.PropertyValues.False; 169properties.Add(TelemetryConstants.PropertyNames.Success, TelemetryConstants.PropertyValues.True); 170properties.Add(TelemetryConstants.PropertyNames.DurationInMilliseconds, durationInMilliseconds); 204properties.Add(TelemetryConstants.PropertyNames.Success, TelemetryConstants.PropertyValues.False);
Telemetry\TelemetryHelper.cs (10)
31if (!TelemetryConstants.IsTelemetryEnabled) 40_telemetryConfiguration.ConnectionString = TelemetryConstants.ConnectionString; 50[TelemetryConstants.PropertyNames.DevDeviceId] = deviceId, 51[TelemetryConstants.PropertyNames.OSVersion] = Environment.OSVersion.VersionString, 52[TelemetryConstants.PropertyNames.OSPlatform] = Environment.OSVersion.Platform.ToString(), 53[TelemetryConstants.PropertyNames.KernelVersion] = RuntimeInformation.OSDescription, 54[TelemetryConstants.PropertyNames.RuntimeId] = RuntimeInformation.RuntimeIdentifier, 55[TelemetryConstants.PropertyNames.ProductVersion] = Constants.Version, 56[TelemetryConstants.PropertyNames.IsCIEnvironment] = isCIEnvironment 110$"{TelemetryConstants.EventNamespace}/{eventName}",