Adds Prometheus/Grafana monitoring infrastructure

This commit is contained in:
Christian Mäder 2020-10-18 15:16:16 +02:00 committed by Christian Mäder
parent 64d82b5e42
commit f46d8a7782
21 changed files with 6414 additions and 6 deletions

View file

@ -6,3 +6,4 @@ errorlog = '-'
accesslog = '-'
capture_output = False
loglevel = 'info'
raw_env = 'prometheus_multiproc_dir=/tmp/metrics'

View file

@ -32,4 +32,13 @@ http {
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
}
}
server {
listen 8081;
access_log off;
location = /stub_status {
stub_status;
}
}
}