Compartir a través de


RequestLatencyTelemetryExtensions.AddRequestLatencyTelemetry Método

Definición

Sobrecargas

AddRequestLatencyTelemetry(IServiceCollection)

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection, IConfigurationSection)

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection, Action<RequestLatencyTelemetryOptions>)

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection)

Source:
RequestLatencyTelemetryExtensions.cs

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection) As IServiceCollection

Parámetros

services
IServiceCollection

El objeto IServiceCollection al que se va a agregar.

Devoluciones

Se ha agregado una recopilación de servicios con middleware de telemetría de latencia de solicitud.

Excepciones

services es null.

Se aplica a

AddRequestLatencyTelemetry(IServiceCollection, IConfigurationSection)

Source:
RequestLatencyTelemetryExtensions.cs

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Parámetros

services
IServiceCollection

El objeto IServiceCollection al que se va a agregar.

Devoluciones

Se ha agregado una recopilación de servicios con middleware de telemetría de latencia de solicitud.

Excepciones

services o section es null.

Se aplica a

AddRequestLatencyTelemetry(IServiceCollection, Action<RequestLatencyTelemetryOptions>)

Source:
RequestLatencyTelemetryExtensions.cs

Agrega middleware de telemetría de latencia de solicitud al especificado IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Telemetry.RequestLatencyTelemetryOptions> configure);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Telemetry.RequestLatencyTelemetryOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection, configure As Action(Of RequestLatencyTelemetryOptions)) As IServiceCollection

Parámetros

services
IServiceCollection

El objeto IServiceCollection al que se va a agregar.

Devoluciones

Se ha agregado una recopilación de servicios con middleware de telemetría de latencia de solicitud.

Excepciones

services o configure es null.

Se aplica a