Class OtlpReceiverEndpoints

Namespace
Kuestenlogik.Bowire.Protocol.Otlp
Assembly
Kuestenlogik.Bowire.Protocol.Otlp.dll

HTTP listener endpoints for the OTLP exporter spec (POST /v1/traces, /v1/metrics, /v1/logs). Sits behind a configurable basePath on the hosting application so the workbench can mount the listener at /otlp while the rest of the OTLP wire shape stays spec-canonical underneath.

public static class OtlpReceiverEndpoints
Inheritance
OtlpReceiverEndpoints
Inherited Members

Methods

MapBowireOtlpReceiver(IEndpointRouteBuilder, string)

Register the OTLP receiver endpoints. The handlers buffer each received export into the singleton OtlpEnvelopeStore and reply 200 OK with an empty body — the spec allows the server to return either the canonical ExportTraceServiceResponse proto or an empty body for success.

public static IEndpointRouteBuilder MapBowireOtlpReceiver(this IEndpointRouteBuilder endpoints, string basePath = "")

Parameters

endpoints IEndpointRouteBuilder

The host's route builder.

basePath string

Optional prefix mounted ahead of the canonical /v1/{signal} path. Leave empty to mount at the host root; use "/otlp" when the workbench shares the host with its own API.

Returns

IEndpointRouteBuilder