-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prometheus metrics for health check results. #2759
Add prometheus metrics for health check results. #2759
Conversation
cc5d584
to
85ca17e
Compare
faecdf5
to
14abf49
Compare
For some reason the cache ops health check always seems to fail, but that health check is not included in the (default) |
Well we are ripping out Cacheops in 2.0 and it's already been disabled by default for new installs in 1.5. What is the intended consumer of the |
Prometheus/Telegraf for telemetry purposes. |
7185892
to
a168e8e
Compare
Closes: DNE
What's Changed
Exposes metrics for the health check results under
/metrics
as follows:I have defaulted to enabling the metrics endpoint in the development configuration. I am happy to change this back if you want.
I have explicitly added
to
pyproject.toml
. This is a transitive dependency throughdjango-prometheus
, so it is not technically a new dependency,TODO