Skip to content
Snippets Groups Projects
Commit bd69007c authored by Lili Cosic's avatar Lili Cosic
Browse files

jsonnet/kube-prometheus: Adjust dropped deprecated metrics names

The names were not complete in the kubernetes CHANGELOG.
parent 4f2b9c1e
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Drop all kubelet metrics which are deprecated in kubernetes. // Drop all kubelet metrics which are deprecated in kubernetes.
{ {
sourceLabels: ['__name__'], sourceLabels: ['__name__'],
regex: 'kubelet_(pod_worker_latency_microseconds|pod_start_latency_microseconds|cgroup_manager_latency_microseconds|pod_worker_start_latency_microseconds|pleg_relist_latency_microseconds|pleg_relist_interval_microseconds|runtime_operations|runtime_operations_latency_microseconds|runtime_operations_errors|eviction_stats_age_microseconds|device_plugin_registration_count|device_plugin_alloc_latency_microseconds)', regex: 'kubelet_(pod_worker_latency_microseconds|pod_start_latency_microseconds|cgroup_manager_latency_microseconds|pod_worker_start_latency_microseconds|pleg_relist_latency_microseconds|pleg_relist_interval_microseconds|runtime_operations|runtime_operations_latency_microseconds|runtime_operations_errors|eviction_stats_age_microseconds|device_plugin_registration_count|device_plugin_alloc_latency_microseconds|network_plugin_operations_latency_microseconds)',
action: 'drop', action: 'drop',
}, },
// Drop all scheduler metrics which are deprecated in kubernetes. // Drop all scheduler metrics which are deprecated in kubernetes.
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
// Drop all other metrics which are deprecated in kubernetes. // Drop all other metrics which are deprecated in kubernetes.
{ {
sourceLabels: ['__name__'], sourceLabels: ['__name__'],
regex: 'network_plugin_operations_latency_microseconds|data_key_generation_latencies_microse|sync_proxy_rules_latency_microseconds|rest_client_request_latency_seconds', regex: 'kubeproxy_sync_proxy_rules_latency_microseconds|rest_client_request_latency_secons',
action: 'drop', action: 'drop',
}, },
] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment