Expand description
§CDK Prometheus
Re-exports§
pub use error::PrometheusError;pub use error::Result;pub use metrics::global;pub use metrics::CdkMetrics;pub use metrics::METRICS;pub use process::SystemMetrics;pub use server::PrometheusBuilder;pub use server::PrometheusConfig;pub use server::PrometheusServer;pub use prometheus;
Modules§
Macros§
- record_
metrics - Macro for recording metrics with optional fallback to global instance
Functions§
- create_
cdk_ metrics - Convenience function to create a new CDK metrics instance
- start_
default_ server_ with_ metrics - Convenience function to start a Prometheus server with specific metrics