File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
metrics-exporter-prometheus Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments