OpenTelemetryEndpointRouteBuilderExtensions Class

public static class OpenTelemetryEndpointRouteBuilderExtensions

No documentation is available.

Methods

NameDescription
MapOpenTelemetryReceiverEndpoints(IEndpointRouteBuilder)Maps the OTLP receiver endpoints configured in OpenTelemetryReceiverOptions.

MapOpenTelemetryReceiverEndpoints(IEndpointRouteBuilder)

OpenTelemetryEndpointRouteBuilderExtensions.cs

Maps the OTLP receiver endpoints configured in OpenTelemetryReceiverOptions.

public static IEndpointConventionBuilder MapOpenTelemetryReceiverEndpoints(this IEndpointRouteBuilder endpoints)

Parameters

endpoints IEndpointRouteBuilder

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().