Skip to content

Commit b5ec932

Browse files
committed
jsonnet: drop deprecated etcd metric
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
1 parent 518c37d commit b5ec932

4 files changed

+4
-4
lines changed

jsonnet/kube-prometheus/addons/dropping-deprecated-metrics-relabelings.libsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Drop all etcd metrics which are deprecated in kubernetes.
3333
{
3434
sourceLabels: ['__name__'],
35-
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)',
35+
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)',
3636
action: 'drop',
3737
},
3838
// Drop all transformation metrics which are deprecated in kubernetes.

manifests/kubernetes-serviceMonitorApiserver.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
sourceLabels:
3232
- __name__
3333
- action: drop
34-
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)
34+
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)
3535
sourceLabels:
3636
- __name__
3737
- action: drop

manifests/kubernetes-serviceMonitorKubeControllerManager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
sourceLabels:
3232
- __name__
3333
- action: drop
34-
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)
34+
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)
3535
sourceLabels:
3636
- __name__
3737
- action: drop

manifests/kubernetes-serviceMonitorKubelet.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
sourceLabels:
3333
- __name__
3434
- action: drop
35-
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)
35+
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)
3636
sourceLabels:
3737
- __name__
3838
- action: drop

0 commit comments

Comments
 (0)