HttpClientLatencyTelemetryExtensions 类

定义

用于添加 http 客户端延迟遥测的扩展。

public ref class HttpClientLatencyTelemetryExtensions abstract sealed
public static class HttpClientLatencyTelemetryExtensions
type HttpClientLatencyTelemetryExtensions = class
Public Module HttpClientLatencyTelemetryExtensions
继承
HttpClientLatencyTelemetryExtensions

方法

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

添加 以 DelegatingHandler 收集延迟信息并扩充所有 http 客户端的传出请求日志。

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

添加 以 DelegatingHandler 收集延迟信息并扩充所有 http 客户端的传出请求日志。

AddHttpClientLatencyTelemetry(IServiceCollection)

添加 以 DelegatingHandler 收集延迟信息并扩充所有 http 客户端的传出请求日志。

适用于