Skip to content

Commit 51fbc50

Browse files
committed
update CHANGELOG to prepare for release
1 parent 41a2bb9 commit 51fbc50

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

metrics-exporter-prometheus/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased] - ReleaseDate
1010

11+
### Added
12+
13+
- Added `with_recommended_naming` to `PrometheusBuilder`, which when set to `true` will use the recommended naming
14+
convention for Prometheus metrics: suffixing counters with `_total` and ensuring unit suffixes are present. Users
15+
should prefer this going forward, and `set_enable_unit_suffix` is deprecated and will be removed in a future release
16+
in favor of `with_recommended_naming`. ([#596](https://github.com/metrics-rs/metrics/pull/596))
17+
- Added support for emitting metrics in the Protocol Buffers-based scrape format. The exporter automatically detects
18+
which format to render responses in based on the presence/value of the `Accept` header in requests. Additionally, a
19+
new method, `PrometheusHandle::render_protobuf`, has been added to render metrics in this format, similar to
20+
`PrometheusHandle::render`. ([#602](https://github.com/metrics-rs/metrics/pull/602))
21+
- Added `LabelSet`, which provides a wrapper around label key/value pairs to ensure consistent sanitization.
22+
([#605](https://github.com/metrics-rs/metrics/pull/605))
23+
- Added anew feature flag, `push-gateway-no-tls-provider`, to allow enabling push gateway support without including a
24+
default TLS provider via `rustls`. Users enabling this flag must install a default TLS provider for `rustls` via
25+
[`rustls::crypto::CryptoProvider::install_default`](https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html#method.install_default).
26+
([#607](https://github.com/metrics-rs/metrics/pull/607))
27+
- Added experimental support for native histograms. Users can enable native histograms using the existing matcher
28+
approach by calling `PrometheusBuilder::set_native_histogram_for_metric`. Native histograms are only rendered when the
29+
Protocol Buffers-based scrape format is in use. ([#610](https://github.com/metrics-rs/metrics/pull/610))
30+
31+
### Fixed
32+
33+
- Fixed a bug where the `_total` suffix for counters was not being appended to the HELP or TYPE lines for counters.
34+
([#597](https://github.com/metrics-rs/metrics/pull/597))
35+
1136
## [0.17.2] - 2025-06-20
1237

1338
### Changed

metrics-util/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased] - ReleaseDate
1111

12+
### Fixed
13+
14+
- Fixed an atomicity violation in `AtomicSamplingReservoir::consume`.
15+
([#606](https://github.com/metrics-rs/metrics/pull/606))
16+
1217
## [0.20.0] - 2025-06-20
1318

1419
### Changed

metrics/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased] - ReleaseDate
1010

11+
### Changed
12+
13+
- Updated `From` implementation for `metrics::Cow<'a, T>` to allow properly converting `metrics::Cow<'a, str>` to
14+
`std::borrow::Cow<'a, str>`. ([#635](https://github.com/metrics-rs/metrics/pull/635))
15+
1116
## [0.24.2] - 2025-04-20
1217

1318
### Changed

0 commit comments

Comments
 (0)