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

cmd/bosun: Add an API route to return all metrics and their associate… #1247

Merged
merged 1 commit into from
Aug 12, 2015

Conversation

kylebrandt
Copy link
Member

…d keys

Fixes #1245

@@ -284,6 +284,20 @@ func (s *Search) TagKeysByMetric(Metric string) []string {
return r
}

func (s *Search) TagKeysByMetricTree() map[string][]string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name does not describe to me what it actually does. Which is the top level key? I am assuming the hierarchy is metric -> all tagks. Perhaps MetricsWithTagKeys would make a bit more sense.

Change Elasticsearch backend configuration key
kylebrandt added a commit that referenced this pull request Aug 12, 2015
cmd/bosun: Add an API route to return all metrics and their associate…
@kylebrandt kylebrandt merged commit 5db76e8 into master Aug 12, 2015
@gbrayut gbrayut deleted the MetricTagkTree branch August 24, 2015 17:59
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

Successfully merging this pull request may close these issues.

2 participants