Readonlyenabledtrue when opted in and not yet closed; a capture site skips work when false.
ReadonlysourceThe frozen, snapshot-only facade a plugin registers under
CAPABILITIES.REALTIME_DIAGNOSTICS. Registering the collector itself
would hand every registry reader its observe and close.
Marks the collector closed FIRST, so a late observation is discarded, then clears every record and releases the gauge reader. Idempotent.
Records one instantaneous observation. An operation the collector's kind does not admit is ignored.
The fixed operation
Whether it completed normally
Optionalbackpressure: boolean
For an sse close, whether the backlog guard caused it
Runs one backplane publication and records it as backplane-publish with
its duration. The returned promise settles with the SAME value or the
SAME rejection reason as the call's, so an unhandled rejection stays
unhandled. A synchronous throw is recorded as failed and rethrown.
Invokes the transport's publish
A promise derived from the call's
Returns the source's current counters and gauges.
A deeply frozen RealtimeDiagnosticsSnapshot
The collector a realtime plugin attaches to its component. It answers
snapshot()itself; the plugin registers its frozensourcefacade, which exposessnapshot()alone.Every entry point is non-throwing and never changes the application's result: a failing clock or gauge reader latches
collection-failed, clears the records and stops capture until the plugin is recreated.Since
0.8.0