rcrowley / go-metrics

Go port of Coda Hale's Metrics library
Other
3.46k stars 494 forks source link

exp: export healthcheck status #239

Open vincentbernat opened 6 years ago

vincentbernat commented 6 years ago

This will trigger the check immediately, then export its status as ".status" with value of 1 if the healthcheck is OK and 0 otherwise. If the status is 0, the error is stored in ".error", otherwise an empty string is used.

Fix #213