NoopErrorSink
Defined in: observability/src/core/sinks.ts:50
The disabled path made explicit — one shared no-op instead of a scatter of
if (!enabled) return guards. Install it when telemetry is opted out or no
credentials resolve.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NoopErrorSink():
NoopErrorSink
Returns
Section titled “Returns”NoopErrorSink
Methods
Section titled “Methods”captureException()
Section titled “captureException()”captureException(
_err):void
Defined in: observability/src/core/sinks.ts:58
Does nothing.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”endSession()
Section titled “endSession()”endSession():
void
Defined in: observability/src/core/sinks.ts:60
Does nothing.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”flush()
Section titled “flush()”flush():
Promise<void>
Defined in: observability/src/core/sinks.ts:62
Resolves immediately.
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”init()
Section titled “init()”init(
_ctx):void
Defined in: observability/src/core/sinks.ts:52
Does nothing.
Parameters
Section titled “Parameters”string
environment
Section titled “environment”string
release
Section titled “release”string
Record<string, string>
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”startSpan()
Section titled “startSpan()”startSpan(
_name):CommandSpan|undefined
Defined in: observability/src/core/sinks.ts:54
Returns undefined: there is no span.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”CommandSpan | undefined