14 references to InstrumentAdvice
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationMetrics.cs (1)
30advice: new() { HistogramBucketBoundaries = MetricsConstants.ShortSecondsBucketBoundaries });
Microsoft.AspNetCore.Hosting (1)
Internal\HostingMetrics.cs (1)
33advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.ShortSecondsBucketBoundaries });
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionsMetrics.cs (1)
37advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.LongSecondsBucketBoundaries });
Microsoft.AspNetCore.RateLimiting (2)
RateLimitingMetrics.cs (2)
35advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.ShortSecondsBucketBoundaries }); 46advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.ShortSecondsBucketBoundaries });
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\KestrelMetrics.cs (2)
51advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.LongSecondsBucketBoundaries }); 77advice: new InstrumentAdvice<double> { HistogramBucketBoundaries = MetricsConstants.ShortSecondsBucketBoundaries });
Microsoft.Extensions.AI (4)
ChatCompletion\OpenTelemetryChatClient.cs (2)
72advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.TokenUsage.ExplicitBucketBoundaries }); 78advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.OperationDuration.ExplicitBucketBoundaries });
Embeddings\OpenTelemetryEmbeddingGenerator.cs (2)
69advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.TokenUsage.ExplicitBucketBoundaries }); 75advice: new() { HistogramBucketBoundaries = OpenTelemetryConsts.GenAI.Client.OperationDuration.ExplicitBucketBoundaries });
System.Net.Http (2)
System\Net\Http\DiagnosticsHelper.cs (1)
16public static InstrumentAdvice<double> ShortHistogramAdvice { get; } = new()
System\Net\Http\SocketsHttpHandler\Metrics\SocketsHttpHandlerMetrics.cs (1)
20advice: new InstrumentAdvice<double>()
System.Net.NameResolution (1)
System\Net\NameResolutionMetrics.cs (1)
19advice: new InstrumentAdvice<double>()