Module observe

Module observe 

Source
Expand description

Observe - Logs, metrics, traces, health checks, graceful shutdown

Re-exports§

pub use logs::StructuredLogger;
pub use metrics::Metrics;
pub use metrics::MetricsCollector;
pub use metrics::MetricsSnapshot;
pub use traces::TraceContext;
pub use prometheus::PrometheusExporter;
pub use health::HealthChecker;
pub use health::HealthResponse;
pub use health::HealthStatus;
pub use health::HealthMetrics;
pub use shutdown::GracefulShutdown;
pub use shutdown::ShutdownResult;

Modules§

health
Health Check - Kubernetes/Cloud Run liveness and readiness probes
logs
Logs - Structured logs
metrics
Metrics - Metrics collection
prometheus
Prometheus Metrics Exporter
shutdown
Graceful Shutdown - Clean shutdown with in-flight request handling
traces
Traces - Distributed tracing