raintank / worldping-api

Worldping Backend Service
Other
25 stars 18 forks source link

when metrics stop being collected for an endpoint, health is reported as OK #75

Closed woodsaj closed 6 years ago

woodsaj commented 6 years ago

The alerting engine sets the health based on the number of probes in an error state for an endpoint. If none of the probes are reporting data there are no errors and so the health is set to OK. This is wrong.

If there are no probes reporting, the health should be set to unknown.