Hanaasagi / tokio-metrics-collector

Provides utilities for collecting Prometheus-compatible metrics from Tokio runtime and tasks.
https://crates.io/crates/tokio-metrics-collector
Apache License 2.0
27 stars 4 forks source link

Add a metrics-rs backend #9

Open LeonKowarschickKenbun opened 1 year ago

LeonKowarschickKenbun commented 1 year ago

It'd be really nice if this crate supported not only the prometheus crate, but could also emit the metrics via the generic metrics-rs crate ecosystem. This could be neatly feature-gated as an alternative, allowing for easier integration of tokio metrics into existing prometheus metrics endpoints