Merge pull request #5891 from ostcar/prometheus

Prometheus
This commit is contained in:
Emanuel Schütze 2021-02-15 11:07:26 +01:00 committed by GitHub
commit a3a126f930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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