agentguard_telemetry/lib.rs
1//! Pluggable observability layer for agentguard.
2//!
3//! [`Sink`] implementations provide JSONL and stdout event outputs, while
4//! [`Metrics`] exposes the in-process counters and histograms used by the
5//! server's Prometheus endpoint. The audit record chain is owned by the core
6//! decision-log implementation.
7
8pub mod metrics;
9pub mod sink;
10pub mod sinks;
11
12pub use metrics::{Counter, Gauge, Histogram, Metrics, MetricsSnapshot};
13pub use sink::{Sink, SinkError, SinkEvent, SinkEventKind};
14pub use sinks::{jsonl::JsonlSink, stdout::StdoutSink};