Op Englesch liesen

Deelen iwwer


HttpClientLatencyTelemetryExtensions Class

Definition

Extensions to add http client latency telemetry.

C#
public static class HttpClientLatencyTelemetryExtensions
Inheritance
HttpClientLatencyTelemetryExtensions

Methods

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

Adds a DelegatingHandler to collect latency information and enrich outgoing request log for all http clients.

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

Adds a DelegatingHandler to collect latency information and enrich outgoing request log for all http clients.

AddHttpClientLatencyTelemetry(IServiceCollection)

Adds a DelegatingHandler to collect latency information and enrich outgoing request log for all http clients.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)