mirror of https://github.com/zulip/zulip.git
puppet: Only fetch from running hosts in Grafana ec2 discovery.
This commit is contained in:
parent
36f03ccd5c
commit
053682964e
|
@ -19,6 +19,9 @@ scrape_configs:
|
||||||
- region: us-east-1
|
- region: us-east-1
|
||||||
port: 9100
|
port: 9100
|
||||||
refresh_interval: 1m
|
refresh_interval: 1m
|
||||||
|
filters:
|
||||||
|
- name: instance-state-name
|
||||||
|
values: ["running"]
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: ["__meta_ec2_tag_Name"]
|
- source_labels: ["__meta_ec2_tag_Name"]
|
||||||
target_label: "instance"
|
target_label: "instance"
|
||||||
|
|
Loading…
Reference in New Issue