OpenTelemetryEndpointRouteBuilderExtensions Class
public static class OpenTelemetryEndpointRouteBuilderExtensionsNo documentation is available.
Methods
| Name | Description |
|---|---|
| MapOpenTelemetryReceiverEndpoints(IEndpointRouteBuilder) | Maps the OTLP receiver endpoints configured in OpenTelemetryReceiverOptions. |
MapOpenTelemetryReceiverEndpoints(IEndpointRouteBuilder)
OpenTelemetryEndpointRouteBuilderExtensions.csMaps the OTLP receiver endpoints configured in OpenTelemetryReceiverOptions.
public static IEndpointConventionBuilder MapOpenTelemetryReceiverEndpoints(this IEndpointRouteBuilder endpoints)Parameters
endpointsIEndpointRouteBuilder
Returns
IEndpointConventionBuilder A builder that applies conventions to every mapped endpoint, so authorization, rate limiting or CORS can be attached to them: app.MapOpenTelemetryReceiverEndpoints().RequireAuthorization().