forked from CCCHH/ansible-infra
		
	grafana: there are more metrics now
This commit is contained in:
		
					parent
					
						
							
								9f0c276240
							
						
					
				
			
			
				commit
				
					
						a4c703b185
					
				
			
		
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
global:
 | 
			
		||||
  scrape_interval: 60s
 | 
			
		||||
  scrape_timeout: 10s
 | 
			
		||||
  evaluation_interval: 15s
 | 
			
		||||
  scrape_timeout: 15s
 | 
			
		||||
  evaluation_interval: 30s
 | 
			
		||||
 | 
			
		||||
alerting:
 | 
			
		||||
  alertmanagers:
 | 
			
		||||
    - scheme: http
 | 
			
		||||
      timeout: 10s
 | 
			
		||||
      timeout: 15s
 | 
			
		||||
      static_configs:
 | 
			
		||||
        - targets:
 | 
			
		||||
            - "alertmanager:9093"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -627,7 +627,7 @@ groups:
 | 
			
		|||
          summary: Prometheus TSDB WAL truncations failed (instance {{ $labels.instance }})
 | 
			
		||||
          description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n  VALUE = {{ $value }}"
 | 
			
		||||
      - alert: PrometheusTimeseriesCardinality
 | 
			
		||||
        expr: label_replace(count by(__name__) ({__name__=~".+"}), "name", "$1", "__name__", "(.+)") > 15000
 | 
			
		||||
        expr: label_replace(count by(__name__) ({__name__=~".+"}), "name", "$1", "__name__", "(.+)") > 20000
 | 
			
		||||
        for: 0m
 | 
			
		||||
        labels:
 | 
			
		||||
          severity: warning
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue