Crate agentguard_telemetry

Source
Expand description

Pluggable observability layer for agentguard.

Sink implementations provide JSONL and stdout event outputs, while Metrics exposes the in-process counters and histograms used by the server’s Prometheus endpoint. The audit record chain is owned by the core decision-log implementation.

Re-exports§

pub use metrics::Counter;
pub use metrics::Gauge;
pub use metrics::Histogram;
pub use metrics::Metrics;
pub use metrics::MetricsSnapshot;
pub use sink::Sink;
pub use sink::SinkError;
pub use sink::SinkEvent;
pub use sink::SinkEventKind;
pub use sinks::jsonl::JsonlSink;
pub use sinks::stdout::StdoutSink;

Modules§

metrics
In-memory metrics counters and histograms.
sink
Sink trait and event payload.
sinks
Built-in sink implementations.