#metrics #prometheus-metrics #serves #open-telemetry #server #capture #opentelemetry-prometheus

prometheus-serve-metrics

captures opentelemetry metrics for prometheus and serves those metrics on a simple http server

5 releases

0.1.4 Jun 3, 2022
0.1.3 Jun 3, 2022
0.1.2 Jun 3, 2022
0.1.1 Jun 3, 2022
0.1.0 Jun 3, 2022

#10 in #serves

MIT license

5KB
57 lines

PROMETHEUS PULL METRICS

This crate serves metrics for opentelemetry-prometheus

You can setup prometheus to poll the metrics on a timer.

START IT UP

All you have to do is add the crate and invoke:

prometheus_serve_metrics::init();

That's it!

Dependencies

~11–23MB
~298K SLoC