Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Only fetch from running hosts in Grafana ec2 discovery.

Alex Vandiver053682964e78
diff --git a/puppet/zulip_ops/files/prometheus/prometheus.yaml b/puppet/zulip_ops/files/prometheus/prometheus.yaml
index 1c431ac470a..79f3a37f575 100644
--- a/puppet/zulip_ops/files/prometheus/prometheus.yaml
+++ b/puppet/zulip_ops/files/prometheus/prometheus.yaml
@@ -19,6 +19,9 @@ scrape_configs:
- region: us-east-1
port: 9100
refresh_interval: 1m
+ filters:
+ - name: instance-state-name
+ values: ["running"]
relabel_configs:
- source_labels: ["__meta_ec2_tag_Name"]
target_label: "instance"