Expand description
Observability contracts for runtime health, logging, and heartbeat signals.
Re-exports§
pub use health::BasicHealthCheck;pub use health::HealthCheck;pub use health::HealthReport;pub use health::HealthStatus;pub use heartbeat::Heartbeat;pub use heartbeat::HeartbeatSource;pub use heartbeat::StaticHeartbeatSource;pub use log::InMemoryLogger;pub use log::LogLevel;pub use log::LogRecord;pub use log::RuntimeLogger;pub use log::StdoutLogger;pub use metrics::InMemoryMetrics;pub use metrics::MetricCounter;pub use observation::InMemoryObservationSink;pub use observation::ObservationEvent;pub use observation::ObservationKind;pub use observation::ObservationSeverity;pub use observation::ObservationSink;pub use observation::MAX_OBSERVATION_ATTRIBUTES;pub use observation::MAX_OBSERVATION_KEY_BYTES;pub use observation::MAX_OBSERVATION_NAME_BYTES;pub use observation::MAX_OBSERVATION_TRACE_BYTES;pub use observation::MAX_OBSERVATION_VALUE_BYTES;
Modules§
- health
- Health status contracts for runtime observability checks.
- heartbeat
- Heartbeat contracts for runtime liveness signals.
- log
- Logging contracts for runtime observability.
- metrics
- Minimal in-memory counters for local runtime diagnostics.
- observation
- Bounded, tool-independent runtime observation events.
Structs§
- File
Observation Sink - Cloneable non-blocking observation sink backed by a bounded worker queue.
- File
Observation Sink Config - Local observation drain limits and retention policy.
- File
Observation Sink Stats - Point-in-time counters for one file observation drain.
- Observation
Metrics Sink - Observation drain that records stable monotonic counters.
- Runtime
Availability Report - Stable health projection for process, local, distributed, and write traffic.
Enums§
- Runtime
Availability State - Coarse operational availability exposed to supervisors and routers.
Constants§
- OBSERVATION_
FILE_ FORMAT_ V1 - Stable marker written as the first line of every observation JSONL file.