Class OtlpReceiverContribution
- Namespace
- Kuestenlogik.Bowire.Protocol.Otlp
- Assembly
- Kuestenlogik.Bowire.Protocol.Otlp.dll
#1052 — the OTLP receiver wherever the plugin is loaded: the workbench
host maps {basePath}/otlp/v1/traces (and /metrics,
/logs), so an exporter pointed at
http://localhost:5080/otlp reaches it without the host wiring
anything, behind the workbench's own authentication. A host that mounts
the receiver itself (MapBowireOtlpReceiver(IEndpointRouteBuilder, string))
keeps its own path; this one sits beside it under /otlp.
public sealed class OtlpReceiverContribution : IBowireEndpointContribution
- Inheritance
-
OtlpReceiverContribution
- Implements
- Inherited Members
Constructors
OtlpReceiverContribution()
public OtlpReceiverContribution()
Methods
MapEndpoints(IEndpointRouteBuilder, string)
Map this contribution's endpoints. Called once per host startup
from BowireApiEndpoints.MapBowire.
public void MapEndpoints(IEndpointRouteBuilder endpoints, string basePath)
Parameters
endpointsIEndpointRouteBuilderThe auth-gated IEndpointRouteBuilder group every workbench feature endpoint lives under.
basePathstringThe URL fragment every route is anchored under (e.g.
/bowirefor embedded hosts, empty for the standalone CLI).