diff --git a/Dockerfile b/Dockerfile index 09c7aff..62e0bb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . EXPOSE 80 # port 80, one worker, 210s timeout, from prom.py file. -CMD [ "gunicorn", "-b :8000", "-w 1", "-t 210", "prom:app" ] +CMD [ "gunicorn", "-b :8000", "-w 1", "-t 720", "prom:app" ] diff --git a/prometheus.yml b/prometheus.yml index a085aaf..82cce39 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -1,6 +1,6 @@ # This is supplied to test bss, not run it. global: - scrape_interval: 215s # Set the scrape interval to every 15 seconds. Default is every 1 minute. + scrape_interval: 730s # Set the scrape interval to every 15 seconds. Default is every 1 minute. scrape_configs: - job_name: 'prometheus'