1 unstable release
|0.2.0||Oct 10, 2022|
#1134 in Encoding
Prometheus meets Serde
This crate is a Rust library for Prometheus labels. It is built upon Serde, a high performance generic serialization framework.
This crate works with Cargo and can be found on crates.io with a
[dependencies] serde_prometheus_labels = "0.2"
The documentation is available on docs.rs.
Bridge to prometheus-client
With the feature "bridge" enabled, this crate provides a wrapper
prometheus_client::metrics::family::Family which uses
prometheus_client::encoding::text::Encode to encode the label set
used by this family. The bridge is available directly at the root of the crate
You can find me on IRC either in
Libera.Chat. If IRC is not your thing, I am happy to
respond to GitHub issues
serde_prometheus_labels is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in
serde_prometheus_labels by you, as defined in the Apache-2.0
license shall be dual licensed as above, without any additional terms or conditions.