Browse Source

Fix environment check in Prometheus config

Checking for prod isn't correct - we want the monitoring server to have
these entries so that it can scrape them from prod.
merge-requests/106/head
Deimos 5 years ago
parent
commit
78002847ba
  1. 2
      salt/salt/prometheus/prometheus.yml.jinja2

2
salt/salt/prometheus/prometheus.yml.jinja2

@ -69,7 +69,7 @@ scrape_configs:
static_configs:
- targets: ['{{ pillar['site_hostname'] }}:25014']
{% if grains["id"] == "prod" %}
{% if grains["id"] != "dev" %}
- job_name: "consumer_site_icon_downloader"
static_configs:
- targets: ['{{ pillar['site_hostname'] }}:25011']

Loading…
Cancel
Save