-
Notifications
You must be signed in to change notification settings - Fork 105
Comparing changes
Open a pull request
base repository: prometheus/client_rust
base: v0.23.1
head repository: prometheus/client_rust
compare: v0.24.0
- 11 commits
- 21 files changed
- 7 contributors
Commits on Feb 9, 2025
-
feat(encoding)!:
EncodeLabelSet::encode()uses reference (#257)this commit alters the signature of the `EncodeLabelSet::encode()` trait method, such that it now accepts a mutable reference to its encoder. this is related to #135, and is a second proposal following previous work in #240. this change permits distinct label sets to be composed together, now that the label set encoder is not consumed. a new implementation for tuples `(A, B)` is provided. this commit includes a test case showing that a metric family can compose two label sets together, and that such a family can successfully be digested by the python client library. `derive-encode` is altered to generate code matching this new trait signature, and has been bumped to version 0.5.0 as a result of this breaking change in the `prometheus-client` library. Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
Configuration menu - View commit details
-
Copy full SHA for 84e2cc6 - Browse repository at this point
Copy the full SHA 84e2cc6View commit details -
feat(metrics/family): 🍫 add
Family::get_or_create_owned()(#244)fixes #231. this introduces a new method to `Family<S, M, C>` to help alleviate the risk of deadlocks when accessing multiple series within a given metrics family. this returns a plain `M`, rather than the `MappedRwLockReadGuard<M>` RAII guard returned by `get_or_create()`. a test case is introduced in this commit to demonstrate that structures accessing multiple series within a single expression will not accidentally create a deadlock. Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
Configuration menu - View commit details
-
Copy full SHA for 377ca2d - Browse repository at this point
Copy the full SHA 377ca2dView commit details
Commits on Feb 27, 2025
-
docs: add example using std::io::Write (#261)
Signed-off-by: Edwin Amsler <edwinguy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab152ee - Browse repository at this point
Copy the full SHA ab152eeView commit details
Commits on Apr 7, 2025
-
ci: bump actions/cache to v4 (#264)
Signed-off-by: Max Leonard Inden <mail@max-inden.de>
Configuration menu - View commit details
-
Copy full SHA for 60e44ad - Browse repository at this point
Copy the full SHA 60e44adView commit details
Commits on Apr 16, 2025
-
fix(derive-encode): expand prelude symbols to absolute paths (#265)
According to [1]: > Generally all macros (procedural as well as macro_rules) designed to be used > by other people should refer to every single thing in their expanded code > through an absolute path, such as std::result::Result. [1]: https://github.com/dtolnay/proc-macro-workshop/blob/3b6bcd2c3ad1c1946e6fbcc9be25d3890876087d/builder/tests/09-redefined-prelude-types.rs#L13C1-L15C58 Signed-off-by: ADD-SP <add_sp@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for adc7c4e - Browse repository at this point
Copy the full SHA adc7c4eView commit details
Commits on Aug 4, 2025
-
chore: fix minor clippy lints (#275)
Signed-off-by: Max Leonard Inden <mail@max-inden.de>
Configuration menu - View commit details
-
Copy full SHA for 930aa08 - Browse repository at this point
Copy the full SHA 930aa08View commit details -
fix: remove unnecessary Sized boundaries (#274)
Signed-off-by: slonkazoid <slonkazoid@slonk.ing>
Configuration menu - View commit details
-
Copy full SHA for cd3c3e8 - Browse repository at this point
Copy the full SHA cd3c3e8View commit details
Commits on Aug 11, 2025
-
chore: fix clippy complaints from Rust 1.89.0 (#277)
Signed-off-by: Ivan Babrou <github@ivan.computer>
Configuration menu - View commit details
-
Copy full SHA for 1d5824a - Browse repository at this point
Copy the full SHA 1d5824aView commit details
Commits on Aug 14, 2025
-
feat: impl<T: Collector> Collector for std::sync::Arc<T> (#273)
Signed-off-by: hanabi1224 <harlowmoo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 970606a - Browse repository at this point
Copy the full SHA 970606aView commit details -
feat: support timestamp encoding in exemplars (#276)
Signed-off-by: Ivan Babrou <github@ivan.computer>
Configuration menu - View commit details
-
Copy full SHA for 0355911 - Browse repository at this point
Copy the full SHA 0355911View commit details
Commits on Aug 15, 2025
-
Signed-off-by: Max Leonard Inden <mail@max-inden.de>
Configuration menu - View commit details
-
Copy full SHA for 7844d86 - Browse repository at this point
Copy the full SHA 7844d86View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.23.1...v0.24.0