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

Add getGauge(String group, MetricName name) to MetricManager #31

Open
ralf0131 opened this issue Apr 12, 2019 · 0 comments
Open

Add getGauge(String group, MetricName name) to MetricManager #31

ralf0131 opened this issue Apr 12, 2019 · 0 comments

Comments

@ralf0131
Copy link
Collaborator

After you register a Gauge to MetricManager using com.alibaba.metrics.MetricManager#register, there is no way to query it from MetricManager.

As an alternative, you can use MetricManager.getIMetricManager().getGauges() to get all the gauges, but it is better to provide a more simple way.

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

1 participant