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: 2x API routes: Metadata for all metrics, metrics per tagk #1560

Merged
merged 1 commit into from
Jan 13, 2016

Conversation

kylebrandt
Copy link
Member

No description provided.

@@ -63,6 +63,24 @@ func MetricsByTagPair(t miniprofiler.Timer, w http.ResponseWriter, r *http.Reque
return schedule.Search.MetricsByTagPair(tagk, tagv)
}

func MetricsByTagKey(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps a comment explaining what it returns with an example. map[string][]string could be anything

@captncraig
Copy link
Contributor

lgtm

@kylebrandt kylebrandt merged commit 898a956 into master Jan 13, 2016
@captncraig captncraig deleted the apiMetricMeta branch February 24, 2016 20:01
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