Releases: prometheus/client_rust
Releases · prometheus/client_rust
v0.25.0
Highlights
Added
- Native histogram support, including native-only histograms and histograms with both classic and native buckets.
- An off-by-default
protobuf-protoxfeature to build protobuf support without requiring an externalprotocbinary.
Changed
prometheus_protobufnow generates and encodes Prometheusio.prometheus.clientprotobuf messages (frommetrics.proto) instead of the OpenMetrics protobuf data model (prometheus/OpenMetrics/issues/296). Theprotobufandopenmetrics_protobuffeatures retain the now-deprecated OpenMetrics protobuf support, which will be removed in a future release.- Updated
prost,prost-build, andprost-typestov0.14.
What's Changed
- protobuf: move from OpenMetrics to Prometheus proto by @howardjohn in #298
- Add @krisztianfekete to MAINTAINERS.md by @krisztianfekete in #302
- Add native histogram support by @howardjohn in #304
- chore: prepare v0.25.0 release by @krisztianfekete in #305
New Contributors
- @krisztianfekete made their first contribution in #302
Full Changelog: v0.24.1...v0.25.0
v0.24.1
What's Changed
- refactor(encoding): remove
ascasts by @jalil-salame in #281 - fix(encoding): do not encode descriptor of empty family by @spoutn1k in #279
- feat(metrics/histogram): 🍪
count()andsum()accessors by @cratelyn in #242 - feat(metrics/family): 🍬
contains()checks if metrics exist by @cratelyn in #245 - feat(metrics/family): 🍭
len()returns the number of metrics by @cratelyn in #246 - feat(encoding): encode usize and isize by @jalil-salame in #282
New Contributors
- @RandomInsano made their first contribution in #261
- @ADD-SP made their first contribution in #265
- @slonkazoid made their first contribution in #274
- @hanabi1224 made their first contribution in #273
- @jalil-salame made their first contribution in #281
- @spoutn1k made their first contribution in #279
- @mozzieongit made their first contribution in #289
Full Changelog: v0.23.1...v0.24.1
v0.24.0
What's Changed
- feat(encoding)!:
EncodeLabelSet::encode()uses reference by @cratelyn in #257 - feat(metrics/family): 🍫 add
Family::get_or_create_owned()by @cratelyn in #244 - Add example using std::io::Write by @RandomInsano in #261
- fix(derive-encode): expand prelude symbols to absolute paths by @ADD-SP in #265
- fix: remove unnecessary Sized boundaries by @slonkazoid in #274
- feat: impl<T: Collector> Collector for std::sync::Arc by @hanabi1224 in #273
- Add support for timestamp encoding in exemplars by @bobrik in #276
New Contributors
- @RandomInsano made their first contribution in #261
- @ADD-SP made their first contribution in #265
- @slonkazoid made their first contribution in #274
- @hanabi1224 made their first contribution in #273
Full Changelog: v0.23.1...v0.24.0