mitodl / django-server-status

Monitor server status for health checks.
GNU Affero General Public License v3.0
8 stars 0 forks source link

Add status_all property to the json object returned in the response body #17

Closed bdero closed 8 years ago

bdero commented 8 years ago

Adding a status_all key would be useful, since New Relic has a feature to send an alert when a given string is not found in the response body.

The status_all value would essentially be an AND of all the other statuses, displaying "up" when all the component statuses are up. This way, I can just have New Relic check if the string status_all: "up" exists in the response.

I bring this up since it turns out the response code 503 isn't triggering alerts.