API reference — Operations

Nuvora.Nexus.Relay.Diagnostics

OpenTelemetry registration helpers for Nuvora Nexus Relay instrumentation

dotnet add package Nuvora.Nexus.Relay.Diagnostics

Nuvora.Nexus.Relay.Diagnostics

RelayInstrumentationExtensions

public static class RelayInstrumentationExtensions

One-liner helpers to light up Relay’s OpenTelemetry instrumentation. The framework instruments itself with a standard ActivitySource/Meter (see RelayTelemetry); these register those sources with the application’s tracer/meter providers. Exporters are the app’s choice.

Methods

static MeterProviderBuilder AddRelayInstrumentation(this MeterProviderBuilder builder)

Adds Relay metrics (commands, events appended, outbox, projections, inbox) to the meter provider.

static TracerProviderBuilder AddRelayInstrumentation(this TracerProviderBuilder builder)

Adds Relay command/event/outbox/projection/inbox spans to the tracer provider.