Skip to content

Commit 98eba87

Browse files
committed
chore: changelog updates
1 parent 65eff4f commit 98eba87

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

metrics-exporter-prometheus/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- Added experimental support for native histograms. Users can enable native histograms using the existing matcher
2828
approach by calling `PrometheusBuilder::set_native_histogram_for_metric`. Native histograms are only rendered when the
2929
Protocol Buffers-based scrape format is in use. ([#610](https://github.com/metrics-rs/metrics/pull/610))
30+
- Added a new method (`render_to_write`) to `PrometheusHandle` that allows writing directly to a `Write` implementation.
31+
([#641](https://github.com/metrics-rs/metrics/pull/641))
32+
33+
### Changed
34+
35+
- Slightly updated the logic for rendering Prometheus outputs to be more incremental where possible to allow `render_to_write`
36+
to be roughly constant memory usage regardless of the overall number of metrics being rendered.
37+
([#641](https://github.com/metrics-rs/metrics/pull/641))
3038

3139
### Fixed
3240

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+
### Added
12+
- Two new methods (`KeyName::into_inner` and `Key::name_shared`), as well as a `From` implementation to convert
13+
`KeyName` to `std::borrow::Cow<'static, str>`, to allow for more ergonomically working with `KeyName` values.
14+
([#640](https://github.com/metrics-rs/metrics/pull/640))
15+
1116
### Changed
1217

1318
- Updated `From` implementation for `metrics::Cow<'a, T>` to allow properly converting `metrics::Cow<'a, str>` to

0 commit comments

Comments
 (0)