Module diagnostic

Module diagnostic 

Source
Expand description

Subsystem diagnostics.

This module provides a generalized system for exposing diagnostic information from a subsystem, both in a pull and push fashion.

Structs§

DiagnosticCollector
A named, on-demand producer of diagnostic artifact bytes.
DiagnosticEvent
An abstract, point-in-time diagnostic event emitted by a subsystem.
DiagnosticsEmitter
A subsystem-scoped control surface for exposing diagnostics.

Enums§

DiagnosticDetails
Structured detail describing the nature of a DiagnosticEvent.
DiagnosticsEmitterError
Errors that can occur when creating a DiagnosticsEmitter.

Functions§

subscribe_events
Subscribes to diagnostic events matching the given filter, using the current dataspace.