From bcf20652e615aca811c96f91bce4c01d2fa69ddd Mon Sep 17 00:00:00 2001 From: bparees Date: Mon, 15 Apr 2024 12:28:53 -0400 Subject: [PATCH] OLS-117: Add OLS metrics to whitelist --- configuration/telemeter/metrics.json | 4 ++++ resources/services/telemeter-template.yaml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/configuration/telemeter/metrics.json b/configuration/telemeter/metrics.json index 4ff237ff2c6..ab10bbb7489 100644 --- a/configuration/telemeter/metrics.json +++ b/configuration/telemeter/metrics.json @@ -139,6 +139,10 @@ "{__name__=\"odf_system_raw_capacity_total_bytes\"}", "{__name__=\"odf_system_raw_capacity_used_bytes\"}", "{__name__=\"olm_resolution_duration_seconds\"}", + "{__name__=\"ols:provider_model_configuration\"}", + "{__name__=\"ols:rest_api_query_calls_total:2xx\"}", + "{__name__=\"ols:rest_api_query_calls_total:4xx\"}", + "{__name__=\"ols:rest_api_query_calls_total:5xx\"}", "{__name__=\"openshift:build_by_strategy:sum\"}", "{__name__=\"openshift:cpu_usage_cores:sum\"}", "{__name__=\"openshift:memory_usage_bytes:sum\"}", diff --git a/resources/services/telemeter-template.yaml b/resources/services/telemeter-template.yaml index 1ce25b43d4a..8cbc0396a7c 100644 --- a/resources/services/telemeter-template.yaml +++ b/resources/services/telemeter-template.yaml @@ -233,6 +233,10 @@ objects: - --whitelist={__name__="odf_system_raw_capacity_total_bytes"} - --whitelist={__name__="odf_system_raw_capacity_used_bytes"} - --whitelist={__name__="olm_resolution_duration_seconds"} + - --whitelist={__name__="ols:provider_model_configuration"} + - --whitelist={__name__="ols:rest_api_query_calls_total:2xx"} + - --whitelist={__name__="ols:rest_api_query_calls_total:4xx"} + - --whitelist={__name__="ols:rest_api_query_calls_total:5xx"} - --whitelist={__name__="openshift:build_by_strategy:sum"} - --whitelist={__name__="openshift:cpu_usage_cores:sum"} - --whitelist={__name__="openshift:memory_usage_bytes:sum"} @@ -503,6 +507,10 @@ objects: - --whitelist={__name__="odf_system_raw_capacity_total_bytes"} - --whitelist={__name__="odf_system_raw_capacity_used_bytes"} - --whitelist={__name__="olm_resolution_duration_seconds"} + - --whitelist={__name__="ols:provider_model_configuration"} + - --whitelist={__name__="ols:rest_api_query_calls_total:2xx"} + - --whitelist={__name__="ols:rest_api_query_calls_total:4xx"} + - --whitelist={__name__="ols:rest_api_query_calls_total:5xx"} - --whitelist={__name__="openshift:build_by_strategy:sum"} - --whitelist={__name__="openshift:cpu_usage_cores:sum"} - --whitelist={__name__="openshift:memory_usage_bytes:sum"}