agp-tracing 0.2.1

Observability for AGP data plane: logs, traces and metrics infrastructure.
Documentation
1
2
3
4
5
use once_cell::sync::Lazy;
use uuid::Uuid;

pub static INSTANCE_ID: Lazy<String> =
    Lazy::new(|| std::env::var("AGP_INSTANCE_ID").unwrap_or_else(|_| Uuid::new_v4().to_string()));