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)
66OpenTelemetryConsts.GenAI.Client.TokenUsage.Name, 68OpenTelemetryConsts.GenAI.Client.TokenUsage.Description, 69advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.TokenUsage.ExplicitBucketBoundaries }); 72OpenTelemetryConsts.GenAI.Client.OperationDuration.Name, 74OpenTelemetryConsts.GenAI.Client.OperationDuration.Description, 75advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.OperationDuration.ExplicitBucketBoundaries });