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

x/build: configure Stackdriver alerting for farmer.golang.org/#health #32372

Open
bradfitz opened this issue May 31, 2019 · 0 comments
Open

x/build: configure Stackdriver alerting for farmer.golang.org/#health #32372

bradfitz opened this issue May 31, 2019 · 0 comments
Assignees
Milestone

Comments

@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented May 31, 2019

When I added the coordinator health checking, I made each health item have its own URL, linked from https://farmer.golang.org/#health ...

... etc

It returns:

  • HTTP 500 if there are any errors
  • HTTP 200 + "ok" if everything is perfect
  • HTTP 200 + warnings on warnings

That should make it easy to plug in to our existing Stackdriver alerting, to send emails when things are unhealthy.

If the HTTP status + body aren't sufficient to make the Stackdriver integration trivial, adjust the coordinator such that it is.

/cc @dmitshur @andybons

@bradfitz bradfitz added the NeedsFix label May 31, 2019
@gopherbot gopherbot added this to the Unreleased milestone May 31, 2019
@gopherbot gopherbot added the Builders label May 31, 2019
@cagedmantis cagedmantis changed the title x/build: configure Stackdriver alerting for Macs, etc x/build: configure Stackdriver alerting for farmer.golang.org/#health Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.