File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ scrape_configs:
3131 - port : 9400
3232 refresh_interval : 10s
3333 filters :
34+ - name : instance-state-name
35+ values :
36+ - running
37+ - name : tag:Name
38+ values :
39+ - Compute
3440 - name : instance-type
3541 values :
3642 - p2.xlarge
@@ -57,17 +63,13 @@ scrape_configs:
5763 target_label : instance_name
5864 - source_labels : [__meta_ec2_tag_Application]
5965 target_label : instance_grafana
60- regex : __Application__
61- action : keep
6266 - source_labels : [__meta_ec2_instance_id]
6367 target_label : instance_id
6468 - source_labels : [__meta_ec2_availability_zone]
6569 target_label : instance_az
6670 - source_labels : [__meta_ec2_instance_state]
67- regex : running
68- action : keep
6971 target_label : instance_state
7072 - source_labels : [__meta_ec2_instance_type]
7173 target_label : instance_type
7274 - source_labels : [__meta_ec2_vpc_id]
73- target_label : instance_vpc
75+ target_label : instance_vpc
You can’t perform that action at this time.
0 commit comments