1 write to _tokenUsageHistogram
Microsoft.Extensions.AI (1)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
62_tokenUsageHistogram = _meter.CreateHistogram<int>(
2 references to _tokenUsageHistogram
Microsoft.Extensions.AI (2)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (2)
188if (_tokenUsageHistogram.Enabled && inputTokens.HasValue) 194_tokenUsageHistogram.Record(inputTokens.Value);