Prometheus

This commit is contained in:
Oskar Hahn 2021-02-14 18:59:02 +01:00 committed by Emanuel Schütze
parent 5b91ba4597
commit 69bf46a5ff
3 changed files with 18 additions and 1 deletions

@ -1 +1 @@
Subproject commit dbf4fef1b7ff9f2c1973ac1077d4a07cdf5aa41d Subproject commit 4a6ef534dfbbdf06b3415b26d2475f038fa2b8b7

View File

@ -29,6 +29,13 @@ services:
- ./postgresql.dev.conf:/etc/postgresql/postgresql.conf - ./postgresql.dev.conf:/etc/postgresql/postgresql.conf
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf' command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
prometheus:
image: prom/prometheus:v2.24.0
volumes:
- ../prometheus/prometheus.dev.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
autoupdate: autoupdate:
image: os3-autoupdate-dev image: os3-autoupdate-dev
environment: environment:

View File

@ -0,0 +1,10 @@
global:
scrape_interval: 5s
scrape_timeout: 5s
evaluation_interval: 15s
scrape_configs:
- job_name: openslides3-autoupdate
static_configs:
- targets:
- autoupdate:8002