Prometheus
This commit is contained in:
parent
5b91ba4597
commit
69bf46a5ff
@ -1 +1 @@
|
||||
Subproject commit dbf4fef1b7ff9f2c1973ac1077d4a07cdf5aa41d
|
||||
Subproject commit 4a6ef534dfbbdf06b3415b26d2475f038fa2b8b7
|
@ -29,6 +29,13 @@ services:
|
||||
- ./postgresql.dev.conf:/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:
|
||||
image: os3-autoupdate-dev
|
||||
environment:
|
||||
|
10
prometheus/prometheus.dev.yml
Normal file
10
prometheus/prometheus.dev.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user