Skip to content

Consider changing metrics to be multi-dimensional #9106

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

Closed
cskinfill opened this issue May 5, 2017 · 2 comments
Closed

Consider changing metrics to be multi-dimensional #9106

cskinfill opened this issue May 5, 2017 · 2 comments
Labels
status: duplicate A duplicate of another issue

Comments

@cskinfill
Copy link

The current metrics support in spring boot actuator only allow for a string name and a value. But if we use a metrics database like influxdb or others, its cumbersome to write a transformer that can unravel the metric name into a measurement, tag, field structure. It seems easier to support this mult-dimensional structure when the metric is created, and then provide a way to flatten it for graphite, statsd, etc., then try and go the other way.

Something perhaps like GaugeService.submit(String metric, double value, Map<String, String> tags) and then update Metric to store the tags.

Thoughts?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 5, 2017
@spencergibb
Copy link
Member

Duplicate of #8130?

@cskinfill
Copy link
Author

yeah, looks like it is. sorry, i thought i searched for duplicates somehow completely missed #8130

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants