bripkens / health-check-adapter

Connect health check endpoints to Slack
Apache License 2.0
3 stars 3 forks source link

Add a statuspage.io reporter #5

Open bripkens opened 8 years ago

bripkens commented 8 years ago

I have been wanting to do this for some time. Now, with some activity in this project (thanks @britter), this is becoming interesting again.

Component health checks and status pages are a naturally good fit. Statuspage.io is a commonly used status page service with an API that supports all the requirements that we have. Implementation of this reporter will probably be highly similar to the existing Slack reporter.

Statuspage API docs: http://doers.statuspage.io/

bripkens commented 8 years ago

I'll try to work on this over the weekend :)

britter commented 8 years ago

Would be good to finish #3 first. I'll try to fish that before the weekend.

britter commented 8 years ago

Doesn't seem too hard:

  1. Add a new reporter config:
case class StatusPageReporterConfig(apiKey: String, pageId: String, componentId: String)
  1. Add a new reporter actor for StatusPage.io which calls the REST API. The page and component have to exist in advance.