Skip to content
Snippets Groups Projects
Commit b5ec9320 authored by Damien Grisonnet's avatar Damien Grisonnet
Browse files

jsonnet: drop deprecated etcd metric

parent 518c37d7
Branches
Tags
No related merge requests found
...@@ -32,7 +32,7 @@ ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment