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

Adding current build status to pipeline metrics #5

Open
pvdvreede opened this issue Jul 15, 2016 · 6 comments
Open

Adding current build status to pipeline metrics #5

pvdvreede opened this issue Jul 15, 2016 · 6 comments

Comments

@pvdvreede
Copy link

Would you consider adding another dimension to the pipeline metrics which is the current state of the master branch? eg CurrentBuildStatus = [0 | 1] Where 0 is success and 1 is failure. Or something along those lines?

@toolmantim
Copy link
Contributor

Thanks for the q @pvdvreede! What's the problem / use case you're trying to solve here?

@pvdvreede
Copy link
Author

I would like to have metrics in cloudwatch for people to use on dashboards to see if they have any failing builds currently, this way people can know if they need to go and fix a build without having to look at buildkite.

@toolmantim
Copy link
Contributor

So I've looked into this… I think for this one, until teams is official launched and there's REST APIs for it you're going to have to do this with the GraphQL API and posting your own CloudWatch metrics sorry!

@toolmantim
Copy link
Contributor

Sorry, I've confused teams and this :)

I like the idea for this… I'd be open to adding LastDefaultBranchBuildStatus with 0/1.

Our API has the required endpoints, it's the org/pipeline/builds endpoint with the parameters ?branch=master&state=finished&per_page=1

@petemounce
Copy link

I'm not sure how to achieve it and I'm pretty sure we're the definition of an edge case, but... Please support this for more than one default branch?

We maintain multiple concurrent long term (multi year) support branches.

@wpcarro
Copy link

wpcarro commented Oct 12, 2022

what's the status of this?

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

No branches or pull requests

4 participants