revsys / django-health-check

a pluggable app that runs a full check on the deployment, using a number of plugins to check e.g. database, queue server, celery processes, etc.

Home Page:https://readthedocs.org/projects/django-health-check/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Separate URLs for each checked service

ankitgoyal100 opened this issue · comments

I would like support for separate URLs for each service that is checked with this healthcheck. For instance, I'd like a separate URL for my Redis health check status and my Django health check status.

Ideally you could specify which tests run at a URL and have multiple URLs. My use case is having one URL that is hit by our load balancer that only checks critical services like the database or maybe redis, but have another URL we can run all the checks on that we tie into our alerting system. With something like this is would also satisfy the OP's request.

@natethelen @ankitgoyal100 I was looking for a similar functionality and made a pull request here #390

This is a great idea and I can see the usefulness. I'll do my best to get it reviewed soon.