diff --git a/autoupdate b/autoupdate index dbf4fef1b..4a6ef534d 160000 --- a/autoupdate +++ b/autoupdate @@ -1 +1 @@ -Subproject commit dbf4fef1b7ff9f2c1973ac1077d4a07cdf5aa41d +Subproject commit 4a6ef534dfbbdf06b3415b26d2475f038fa2b8b7 diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 809163598..9d680394e 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -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: diff --git a/prometheus/prometheus.dev.yml b/prometheus/prometheus.dev.yml new file mode 100644 index 000000000..7b042a771 --- /dev/null +++ b/prometheus/prometheus.dev.yml @@ -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