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 Prometheus metrics backend #39

Merged
merged 1 commit into from
Mar 7, 2018
Merged

Conversation

martinbaillie
Copy link
Contributor

This PR adds a Prometheus metrics backend available by default on :8080/metrics (customisable). Collected Buildkite metrics are translated to Prometheus gauges at runtime.

@martinbaillie
Copy link
Contributor Author

Resolves #36

@lox
Copy link
Contributor

lox commented Mar 5, 2018

This looks great! I'll do some testing locally and then we'll get this merged and in a release asap. Thanks for this!

@@ -57,18 +59,20 @@ func main() {
os.Exit(1)
}

lowerBackendOpt := strings.ToLower(*backendOpt)
if lowerBackendOpt == "cloudwatch" {
switch strings.ToLower(*backendOpt) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@lox lox merged commit 91f17f8 into buildkite:master Mar 7, 2018
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