6 references to OperationDuration
Microsoft.Extensions.AI (6)
ChatCompletion\OpenTelemetryChatClient.cs (3)
75
OpenTelemetryConsts.GenAI.Client.
OperationDuration
.Name,
77
OpenTelemetryConsts.GenAI.Client.
OperationDuration
.Description,
78
advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.
OperationDuration
.ExplicitBucketBoundaries });
Embeddings\OpenTelemetryEmbeddingGenerator.cs (3)
69
OpenTelemetryConsts.GenAI.Client.
OperationDuration
.Name,
71
OpenTelemetryConsts.GenAI.Client.
OperationDuration
.Description,
72
advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.
OperationDuration
.ExplicitBucketBoundaries });