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