From 238f33caab87384b62f340f6a332bc32a05a503b Mon Sep 17 00:00:00 2001 From: Robert Jacob Date: Wed, 13 Nov 2024 14:01:32 +0100 Subject: [PATCH] MON-4051: Update telemeter metrics allow-list (#702) --- configuration/telemeter/metrics.json | 5 +++++ resources/services/telemeter-template.yaml | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/configuration/telemeter/metrics.json b/configuration/telemeter/metrics.json index 1908aeb316..70c276cc6b 100644 --- a/configuration/telemeter/metrics.json +++ b/configuration/telemeter/metrics.json @@ -1,4 +1,9 @@ [ + "openshift_logging:log_forwarder_input_type:sum", + "openshift_logging:log_forwarder_output_type:sum", + "openshift_logging:log_forwarder_pipelines:sum", + "openshift_logging:log_forwarders:sum", + "openshift_logging:vector_component_received_bytes_total:rate5m", "{__name__=\":apiserver_v1_image_imports:sum\"}", "{__name__=\"ALERTS\",alertstate=\"firing\",severity=~\"critical|warning|info|none\"}", "{__name__=\"ALERTS\",alertstate=\"firing\"}", diff --git a/resources/services/telemeter-template.yaml b/resources/services/telemeter-template.yaml index 4e231e6784..1897ca87d2 100644 --- a/resources/services/telemeter-template.yaml +++ b/resources/services/telemeter-template.yaml @@ -93,6 +93,11 @@ objects: - --memcached=memcached-0.memcached.${NAMESPACE}.svc.cluster.local:11211 - --memcached=memcached-1.memcached.${NAMESPACE}.svc.cluster.local:11211 - --memcached=memcached-2.memcached.${NAMESPACE}.svc.cluster.local:11211 + - --whitelist=openshift_logging:log_forwarder_input_type:sum + - --whitelist=openshift_logging:log_forwarder_output_type:sum + - --whitelist=openshift_logging:log_forwarder_pipelines:sum + - --whitelist=openshift_logging:log_forwarders:sum + - --whitelist=openshift_logging:vector_component_received_bytes_total:rate5m - --whitelist={__name__=":apiserver_v1_image_imports:sum"} - --whitelist={__name__="alerts",alertstate="firing",severity=~"critical|warning|info|none"} - --whitelist={__name__="alerts",alertstate="firing"} @@ -389,6 +394,11 @@ objects: - --memcached=memcached-0.memcached.${NAMESPACE}.svc.cluster.local:11211 - --memcached=memcached-1.memcached.${NAMESPACE}.svc.cluster.local:11211 - --memcached=memcached-2.memcached.${NAMESPACE}.svc.cluster.local:11211 + - --whitelist=openshift_logging:log_forwarder_input_type:sum + - --whitelist=openshift_logging:log_forwarder_output_type:sum + - --whitelist=openshift_logging:log_forwarder_pipelines:sum + - --whitelist=openshift_logging:log_forwarders:sum + - --whitelist=openshift_logging:vector_component_received_bytes_total:rate5m - --whitelist={__name__=":apiserver_v1_image_imports:sum"} - --whitelist={__name__="alerts",alertstate="firing",severity=~"critical|warning|info|none"} - --whitelist={__name__="alerts",alertstate="firing"}