codahale/metrics — Issue #110: Change HTTP status code when no health checks registered
Author: chids
Created: 2011-11-17 14:44:49+00:00
State: open

Currently the MetricsServlet responds with a 500 if a health check fails OR if no health checks are registered. While I agree that having no health checks is bad I think it would be nice if that case used a separate HTTP status code so that my monitoring could separate the two cases. I suggest 404 for the case when no health checks are registered.