42 references to PropertyNames
Microsoft.Extensions.AI.Evaluation.Console (42)
Commands\CleanCacheCommand.cs (2)
45telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeDisk; 54telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeAzure;
Commands\CleanResultsCommand.cs (3)
31[PropertyNames.LastN] = lastN.ToTelemetryPropertyValue() 49telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeDisk; 58telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeAzure;
Commands\ReportCommand.cs (27)
39[PropertyNames.LastN] = lastN.ToTelemetryPropertyValue(), 40[PropertyNames.Format] = format.ToString(), 41[PropertyNames.OpenReport] = openReport.ToTelemetryPropertyValue() 59telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeDisk; 68telemetryProperties[PropertyNames.StorageType] = PropertyValues.StorageTypeAzure; 196[PropertyNames.ScenarioRunResultId] = resultIdValue, 197[PropertyNames.MetricsCount] = metrics.Count.ToTelemetryPropertyValue() 229[PropertyNames.MetricName] = metric.Name, 230[PropertyNames.ScenarioRunResultId] = resultIdValue, 231[PropertyNames.ErrorDiagnosticsCount] = errorDiagnosticsCount.ToTelemetryPropertyValue(), 232[PropertyNames.WarningDiagnosticsCount] = warningDiagnosticsCount.ToTelemetryPropertyValue(), 233[PropertyNames.InformationalDiagnosticsCount] = 244properties[PropertyNames.Model] = model; 250properties[PropertyNames.InputTokenCount] = inputTokenCount; 256properties[PropertyNames.OutputTokenCount] = outputTokenCount; 262properties[PropertyNames.DurationInMilliseconds] = durationInMilliseconds; 267properties[PropertyNames.IsInterpretedAsFailed] = failed.ToTelemetryPropertyValue(); 304[PropertyNames.Model] = model.ToTelemetryPropertyValue(defaultValue: PropertyValues.Unknown), 305[PropertyNames.ModelProvider] = 307[PropertyNames.IsModelHostWellKnown] = isModelHostWellKnown, 308[PropertyNames.IsModelHostedLocally] = isModelHostedLocally, 309[PropertyNames.CachedTurnCount] = cachedTurnCount, 310[PropertyNames.NonCachedTurnCount] = nonCachedTurnCount 319properties[PropertyNames.CachedInputTokenCount] = cachedInputTokenCount.ToTelemetryPropertyValue(); 324properties[PropertyNames.CachedOutputTokenCount] = 330properties[PropertyNames.NonCachedInputTokenCount] = 336properties[PropertyNames.NonCachedOutputTokenCount] =
Telemetry\TelemetryExtensions.cs (3)
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 (7)
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