Nexus API Reference

Observability

Tags
psalm-api

Entry point bundling the three telemetry providers. Passed into the actor system and satellite instrumentation; defaults to NoopObservability.

Table of Contents

Methods

currentContext()  : Context
Returns the ambient active context — the span currently in scope — for injection into outgoing carriers (message metadata / HTTP headers).
isEnabled()  : bool
Whether a real telemetry backend is wired. When false, instrumentation call sites should skip work entirely (zero overhead).
meter()  : Meter
propagator()  : ContextPropagator
shutdown()  : void
Flush pending telemetry and stop the provider. Called once during application shutdown; a no-op provider does nothing.
tracer()  : Tracer

Methods

currentContext()

Returns the ambient active context — the span currently in scope — for injection into outgoing carriers (message metadata / HTTP headers).

public currentContext() : Context
Return values
Context

isEnabled()

Whether a real telemetry backend is wired. When false, instrumentation call sites should skip work entirely (zero overhead).

public isEnabled() : bool
Return values
bool

shutdown()

Flush pending telemetry and stop the provider. Called once during application shutdown; a no-op provider does nothing.

public shutdown() : void

        
On this page

Search results