-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of f32 for Gauge and Counter #216
Conversation
Still gotta edit the changelog. |
Signed-off-by: Léo Gillot-Lamure <[email protected]>
Signed-off-by: Léo Gillot-Lamure <[email protected]>
Signed-off-by: Léo Gillot-Lamure <[email protected]>
Signed-off-by: Léo Gillot-Lamure <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. Atomics code looks fine.
Shall we hold off with a release for now?
### Changed | ||
|
||
- `ConstCounter::new` now requires specifying the type of literal arguments, like this: `ConstCounter::new(42u64);`. | ||
See [PR 173]. | ||
|
||
- Update `prost` dependencies to `v0.12`. | ||
See [PR 198]. | ||
|
||
[PR 198]: https://github.com/prometheus/client_rust/pull/198 | ||
|
||
- Add `EncodeGaugeValue` `i32` and `f32`, `EncodeCounterValue` `u32` and `f32` and `EncodeExemplarValue` `f32` and `u32` implementations. | ||
See [PR 173]. | ||
### Added | ||
|
||
- Support `i32`/`f32` for `Gauge` and `u32`/`f32` for `Counter`/`CounterWithExemplar`. | ||
See [PR 173] and [PR 216]. | ||
|
||
[PR 173]: https://github.com/prometheus/client_rust/pull/173 | ||
[PR 216]: https://github.com/prometheus/client_rust/pull/216 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Signed-off-by: Max Inden <[email protected]>
Signed-off-by: Max Inden <[email protected]>
If you have enough content for a release, go for it: the sooner you get it in the wild, the sooner you’ll have feedback if there is a problem (not that I think there would)… It’s a breaking release anyway so nobody will get broken on a As for myself I’m happy when I can remove this line https://gitlab.com/navaati/licorne/-/blob/f26f4141c357b41aae2f1235f8fe0cb3bc7af638/firmware/Cargo.toml#L42 :D |
No description provided.