Skip to content

Commit

Permalink
OLS-117: Add OLS metrics to whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
bparees committed Apr 15, 2024
1 parent 4eb0b0c commit f42bb93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configuration/telemeter/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}",
Expand Down
8 changes: 8 additions & 0 deletions resources/services/telemeter-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down Expand Up @@ -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"}
Expand Down

0 comments on commit f42bb93

Please sign in to comment.