Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants