Partager via


HttpClientLatencyTelemetryExtensions.AddHttpClientLatencyTelemetry Méthode

Définition

Surcharges

AddHttpClientLatencyTelemetry(IServiceCollection)

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

AddHttpClientLatencyTelemetry(IServiceCollection)

Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddHttpClientLatencyTelemetry(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpClientLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddHttpClientLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddHttpClientLatencyTelemetry (services As IServiceCollection) As IServiceCollection

Paramètres

Retours

la valeur de la propriété services ;

Remarques

Cette extension configure globalement la collecte d’informations de latence pour tous les clients http.

S’applique à

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddHttpClientLatencyTelemetry(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpClientLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddHttpClientLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddHttpClientLatencyTelemetry (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Paramètres

Retours

la valeur de la propriété services ;

Remarques

Cette extension configure la collecte automatique des journaux de requêtes sortants à l’échelle mondiale pour tous les clients http.

S’applique à

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs
Source:
HttpClientLatencyTelemetryExtensions.cs

Ajoute un DelegatingHandler pour collecter des informations de latence et enrichir le journal des requêtes sortant pour tous les clients http.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddHttpClientLatencyTelemetry(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Http::Latency::HttpClientLatencyTelemetryOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpClientLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Http.Latency.HttpClientLatencyTelemetryOptions> configure);
static member AddHttpClientLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Http.Latency.HttpClientLatencyTelemetryOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddHttpClientLatencyTelemetry (services As IServiceCollection, configure As Action(Of HttpClientLatencyTelemetryOptions)) As IServiceCollection

Paramètres

Retours

la valeur de la propriété services ;

Remarques

Cette extension configure la collecte automatique des journaux de requêtes sortants à l’échelle mondiale pour tous les clients http.

S’applique à