Skip to main content

Crate appcore_ops

Crate appcore_ops 

Source
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§

FileObservationSink
Cloneable non-blocking observation sink backed by a bounded worker queue.
FileObservationSinkConfig
Local observation drain limits and retention policy.
FileObservationSinkStats
Point-in-time counters for one file observation drain.
ObservationMetricsSink
Observation drain that records stable monotonic counters.
RuntimeAvailabilityReport
Stable health projection for process, local, distributed, and write traffic.

Enums§

RuntimeAvailabilityState
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.