Dela via


HttpClientLatencyTelemetryExtensions Class

Definition

Extensions to add http client latency telemetry.

public ref class HttpClientLatencyTelemetryExtensions abstract sealed
public static class HttpClientLatencyTelemetryExtensions
type HttpClientLatencyTelemetryExtensions = class
Public Module HttpClientLatencyTelemetryExtensions
Inheritance
HttpClientLatencyTelemetryExtensions

Methods

AddHttpClientLatencyTelemetry(IServiceCollection)

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

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.

Applies to