telemetry
ModuleUndocumented.
Contents
use utopia_queue::telemetry::NoTelemetry;Rust
pub struct NoTelemetryDrops every metric.
use utopia_queue::telemetry::Histogram;Rust
pub trait Histogram: Send + SyncRecords values into a histogram.
Implemented byDiscard
use utopia_queue::telemetry::Telemetry;Rust
pub trait Telemetry: Send + SyncWhere metrics go. The default, NoTelemetry, drops them.
Implemented byNoTelemetry
Rust
pub type Attributes = Vec<(String, String)>Attributes of one observation.
Rust
pub type Observer = Arc<dyn Fn() -> BoxFuture<'static, Vec<(i64, Attributes)>> + Send + Sync>Reports a gauge's current values when asked: each (value, attributes).