Skip to main content

ObservationService

Trait ObservationService 

Source
pub trait ObservationService: Send + Sync {
    // Required method
    fn record(&self, kind: &str, observation: &Value) -> Result<()>;
}
Expand description

Durable observation sink used by handlers.

Required Methods§

Source

fn record(&self, kind: &str, observation: &Value) -> Result<()>

Implementors§