AlexanderThaller / prometheus_exporter

Helper libary to export prometheus metrics using tiny_http and rust-prometheus.
MIT License
28 stars 10 forks source link

Can we please cut a new release of prometheus_exporter? #30

Closed siris closed 2 years ago

siris commented 2 years ago

Summary

Recently I have been developing a Prometheus Exporter using this Rust library and came across this error after following the examples:

error[E0599]: no method named `with_registry` found for struct `prometheus_exporter::Builder` in the current scope
  --> src/main.rs:62:14
   |
62 |     exporter.with_registry(custom_registry);
   |              ^^^^^^^^^^^^^

It looks like some features have recently been merged in #23 and #26 such as using a custom registry, which seems required for labeled Prometheus metrics (Or is there a different way to create labeled Prometheus metrics without a custom Registry?)

Is is possible to cut a new prometheus_exporter crate release to include these features?

AlexanderThaller commented 2 years ago

Published https://github.com/AlexanderThaller/prometheus_exporter/releases/tag/0.8.5