Skip to content
Snippets Groups Projects
Commit cb32c08f authored by Jan David Mol's avatar Jan David Mol
Browse files

Added comments and namespace to TMSS prometheus metrics

parent c26e0fb8
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,12 @@ DEBUG = strtobool(os.getenv('DEBUG', 'True'))
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS').split(',') if os.getenv('ALLOWED_HOSTS') else []
# Django-prometheus endpoints, of which one per worker will be spawned
# see https://github.com/korfuri/django-prometheus/blob/master/documentation/exports.md#exporting-metrics-in-a-wsgi-application-with-multiple-processes-per-process
PROMETHEUS_METRICS_EXPORT_PORT_RANGE = range(9001, 9061)
PROMETHEUS_METRICS_EXPORT_ADDRESS = '' # all addresses
PROMETHEUS_METRIC_NAMESPACE = "tmss"
# Application definition
INSTALLED_APPS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment