Crate cdk_prometheus

Crate cdk_prometheus 

Source
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§

error
metrics
process
server

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