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

[Feature Request] [Metrics Framework] Add support of Gauge type of metrics #12641

Closed
Gaganjuneja opened this issue Mar 13, 2024 · 0 comments · Fixed by #12642
Closed

[Feature Request] [Metrics Framework] Add support of Gauge type of metrics #12641

Gaganjuneja opened this issue Mar 13, 2024 · 0 comments · Fixed by #12642
Labels
enhancement Enhancement or improvement to existing feature or request Other Telemetry:Metrics PRs or issues specific to telemetry metrics framework untriaged v2.13.0 Issues and PRs related to version 2.13.0 v3.0.0 Issues and PRs related to version 3.0.0

Comments

@Gaganjuneja
Copy link
Contributor

Is your feature request related to a problem? Please describe

As part of the #10238 we have added the Metrics Framework. We need to enhance this by adding the support for Gauge type of metrics. Gauge metrics are required to capture point in time snapshot of values.

Describe the solution you'd like

Extending it further to add support for Gauge which is a current value at the time it is read. Gauges can be synchronous as well as asynchronous. This issue the scope is to add asynchronous Gauge.

Asynchronous Gauge - When the measurement is exposed via an accessor, use Asynchronous Gauge to invoke the accessor in a callback function

API

Closeable createDoubleGauge(String name, String description, String unit, Supplier<Double> valueProvider, Tags tags);

Related component

Other

Describe alternatives you've considered

No response

Additional context

No response

@Gaganjuneja Gaganjuneja added enhancement Enhancement or improvement to existing feature or request untriaged Telemetry:Metrics PRs or issues specific to telemetry metrics framework labels Mar 13, 2024
@github-actions github-actions bot added the Other label Mar 13, 2024
@reta reta added v3.0.0 Issues and PRs related to version 3.0.0 v2.13.0 Issues and PRs related to version 2.13.0 labels Mar 15, 2024
@bbarani bbarani moved this to Features in Test roadmap format Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Other Telemetry:Metrics PRs or issues specific to telemetry metrics framework untriaged v2.13.0 Issues and PRs related to version 2.13.0 v3.0.0 Issues and PRs related to version 3.0.0
Projects
Status: Planned work items
Development

Successfully merging a pull request may close this issue.

2 participants