Add GDSMetrics package

As per instructions https://github.com/alphagov/gds_metrics_python

The celery workers don't have an HTTP endpoint so no point in trying to
get prometheus to scrape them.
This commit is contained in:
David McDonald
2020-04-20 15:59:47 +01:00
parent c0343324c4
commit 1ff52bbaad
6 changed files with 22 additions and 4 deletions

View File

@@ -3,6 +3,8 @@ import sys
import traceback
import gunicorn
from gds_metrics.gunicorn import child_exit # noqa
workers = 4
worker_class = "eventlet"
worker_connections = 256