mirror of
				https://github.com/rfmoz/grafana-dashboards.git
				synced 2025-03-05 20:51:45 -08:00 
			
		
		
		
	Fix replace deprecated count_scalar with count
https://prometheus.io/docs/prometheus/2.0/migration/#promql
This commit is contained in:
		
							parent
							
								
									04a9907645
								
							
						
					
					
						commit
						af4ea14793
					
				|  | @ -179,7 +179,7 @@ | |||
|               "step": 120 | ||||
|             }, | ||||
|             { | ||||
|               "expr": "count_scalar(apache_up{instance=~\"$host:$port\"} == 0)", | ||||
|               "expr": "count(apache_up{instance=~\"$host:$port\"} == 0)", | ||||
|               "format": "time_series", | ||||
|               "intervalFactor": 2, | ||||
|               "legendFormat": "Apache Down", | ||||
|  | @ -738,4 +738,4 @@ | |||
|   "timezone": "", | ||||
|   "title": "Apache", | ||||
|   "version": 10 | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue