From 563459a19c2b44c5462a5bc9478fc6bffb6c4237 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 3 Jan 2023 12:39:59 -0800 Subject: [PATCH] Add changelog Signed-off-by: John Howard --- CHANGELOG.md | 3 +++ derive-encode/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edf54b0c..45b5a414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Introduce `Collector` abstraction allowing users to provide additional metrics and their description on each scrape. See [PR 82]. +- Introduce a `#[prometheus(flatten)]` attribute which can be used when deriving `EncodeLabelSet`, allowing + a nested struct the be flattened during encoding. See [PR 118]. [PR 82]: https://github.com/prometheus/client_rust/pull/82 +[PR 118]: https://github.com/prometheus/client_rust/pull/118 ## [0.19.0] diff --git a/derive-encode/Cargo.toml b/derive-encode/Cargo.toml index 61559910..e24e1933 100644 --- a/derive-encode/Cargo.toml +++ b/derive-encode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prometheus-client-derive-encode" -version = "0.4.0" +version = "0.4.1" authors = ["Max Inden "] edition = "2021" description = "Auxiliary crate to derive Encode trait from prometheus-client."