mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	puppet: Only fetch from running hosts in Grafana ec2 discovery.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							36f03ccd5c
						
					
				
				
					commit
					053682964e
				
			@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user