Skip to content
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

Support for synchronous guages #109

Open
ewoolsey opened this issue Feb 27, 2024 · 1 comment
Open

Support for synchronous guages #109

ewoolsey opened this issue Feb 27, 2024 · 1 comment

Comments

@ewoolsey
Copy link

Feature Request

Motivation

This feature obviously would fit in well here since it already supports the other synchronous metrics. Synchronous gauges were added in this PR and are listed as experimental. It is included in the open-telemetry spec though so I imagine it's unlikely to change much.

Proposal

Api should be consistent with existing metrics and look like this:

info!(gauge.foo = 1.1);

We could potentially feature gate this as experimental similar to open-telemetry. I'm not sure how necessary that is though.

@academiaresf
Copy link

I have a PR about but i need some help. I don't know the low level details to take about the Gauge metric on the test side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants