42 references to PropertyNames
Microsoft.Extensions.AI.Evaluation.Console (42)
Commands\CleanCacheCommand.cs (2)
45
telemetryProperties[
PropertyNames
.StorageType] = PropertyValues.StorageTypeDisk;
54
telemetryProperties[
PropertyNames
.StorageType] = PropertyValues.StorageTypeAzure;
Commands\CleanResultsCommand.cs (3)
31
[
PropertyNames
.LastN] = lastN.ToTelemetryPropertyValue()
49
telemetryProperties[
PropertyNames
.StorageType] = PropertyValues.StorageTypeDisk;
58
telemetryProperties[
PropertyNames
.StorageType] = PropertyValues.StorageTypeAzure;
Commands\ReportCommand.cs (27)
39
[
PropertyNames
.LastN] = lastN.ToTelemetryPropertyValue(),
40
[
PropertyNames
.Format] = format.ToString(),
41
[
PropertyNames
.OpenReport] = openReport.ToTelemetryPropertyValue()
59
telemetryProperties[
PropertyNames
.StorageType] = PropertyValues.StorageTypeDisk;
68
telemetryProperties[
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] =
244
properties[
PropertyNames
.Model] = model;
250
properties[
PropertyNames
.InputTokenCount] = inputTokenCount;
256
properties[
PropertyNames
.OutputTokenCount] = outputTokenCount;
262
properties[
PropertyNames
.DurationInMilliseconds] = durationInMilliseconds;
267
properties[
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
319
properties[
PropertyNames
.CachedInputTokenCount] = cachedInputTokenCount.ToTelemetryPropertyValue();
324
properties[
PropertyNames
.CachedOutputTokenCount] =
330
properties[
PropertyNames
.NonCachedInputTokenCount] =
336
properties[
PropertyNames
.NonCachedOutputTokenCount] =
Telemetry\TelemetryExtensions.cs (3)
169
properties.Add(TelemetryConstants.
PropertyNames
.Success, TelemetryConstants.PropertyValues.True);
170
properties.Add(TelemetryConstants.
PropertyNames
.DurationInMilliseconds, durationInMilliseconds);
204
properties.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