Class OtlpSignaler

Namespace
Kuestenlogik.Bowire.Monitoring.Otlp
Assembly
Kuestenlogik.Bowire.Monitoring.Otlp.dll

The OTLP "signal" channel — exports the bowire.monitoring.* probe metrics (per-run duration + outcome counter) to an OpenTelemetry collector. Unlike Slack / PagerDuty, the work happens at construction: a OpenTelemetry.Metrics.MeterProvider subscribing to Meter with the OTLP exporter is stood up and kept alive for the process, so metrics flow continuously. A pass↔fail transition is already visible in the outcome counter, so DeliverAsync(SignalEvent, CancellationToken) is a no-op (per-transition OTLP log records are a follow-up).

public sealed class OtlpSignaler : ISignaler, IDisposable
Inheritance
OtlpSignaler
Implements
Inherited Members

Constructors

OtlpSignaler(Uri)

public OtlpSignaler(Uri endpoint)

Parameters

endpoint Uri

Methods

DeliverAsync(SignalEvent, CancellationToken)

Deliver a transition to this channel. Failures must not abort the run.

public Task DeliverAsync(SignalEvent signal, CancellationToken ct = default)

Parameters

signal SignalEvent
ct CancellationToken

Returns

Task

Remarks

No-op: the transition is already carried by the outcome counter the metrics pipeline exports.

Dispose()

Flush + tear down the exporter.

public void Dispose()