client_rust
client_rust copied to clipboard
Prometheus / OpenMetrics client library in Rust
**Note: All credits for the PR, from the initial idea, implementation, and testing, belong to @amunra who is the original author of this PR and #154.** From the original PR...
This is useful for platforms that don’t support 64bit, such as a number of std-enabled networked MCUs. I have unfortunately not been able to test the protobuf part, as I’m...
There is a number of small issues making usage of the lib on 32-bit systems (such as embedded chips) impossible or limited. I’ll collate them in this issue with the...
Hello! 👋 I have a usecase that can be split into 2 separate issues (let me know and I can split it 👍), but I'll have them here for now...
Thanks for this great project! I noticed that [families have a `clear` method](https://docs.rs/prometheus-client/0.22.2/prometheus_client/metrics/family/struct.Family.html#method.clear), but nothing like this exists for histograms and counters. I figured out that you can get around...
Close #181 Close #182 Close #183 Close #187
processor collector that has the same metrics available on `client_golang`: ``` process_network_transmit_bytes_total process_network_receive_bytes_total process_max_fds process_open_fds_total process_virtual_memory_max process_virtual_memory_bytes process_resident_memory_bytes process_start_time_seconds ```
It's fairly common practice for us to create a set of metrics from a metric family given a set of labels, and store them for later use. However, this can...
The current implementation does not have a range based exponential bucket function. This can be useful in scenarios where the end user doesn't want to perform manual calculations for extracting...
This PR introduces two new interfaces to `Family`: `get` and `with_metrics`. These additions cater to the following use cases: 1. In crate A (e.g., an embedded database), the `get_or_create` interface...