mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-30 23:51:01 +01:00 
			
		
		
		
	jsonnet: drop deprecated etcd metric
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
This commit is contained in:
		
							parent
							
								
									518c37d72d
								
							
						
					
					
						commit
						b5ec93208b
					
				| @ -32,7 +32,7 @@ | |||||||
|   // Drop all etcd metrics which are deprecated in kubernetes. |   // Drop all etcd metrics which are deprecated in kubernetes. | ||||||
|   { |   { | ||||||
|     sourceLabels: ['__name__'], |     sourceLabels: ['__name__'], | ||||||
|     regex: 'etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)', |     regex: 'etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary)', | ||||||
|     action: 'drop', |     action: 'drop', | ||||||
|   }, |   }, | ||||||
|   // Drop all transformation metrics which are deprecated in kubernetes. |   // Drop all transformation metrics which are deprecated in kubernetes. | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ spec: | |||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) |       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) | ||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ spec: | |||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) |       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) | ||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|  | |||||||
| @ -32,7 +32,7 @@ spec: | |||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) |       regex: etcd_(helper_cache_hit_count|helper_cache_miss_count|helper_cache_entry_count|object_counts|request_cache_get_latencies_summary|request_cache_add_latencies_summary|request_latencies_summary) | ||||||
|       sourceLabels: |       sourceLabels: | ||||||
|       - __name__ |       - __name__ | ||||||
|     - action: drop |     - action: drop | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user