Skip to content

Commit

Permalink
Update Telemeter metrics allow-list
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpasquier committed Nov 13, 2024
1 parent f9a5a6a commit fd2a906
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration/telemeter/metrics.json
Original file line number Diff line number Diff line change
@@ -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\"}",
Expand Down Expand Up @@ -194,6 +199,7 @@
"{__name__=\"type:tempo_operator_tempostack_multi_tenancy:sum\",type=~\"enabled|disabled\"}",
"{__name__=\"type:tempo_operator_tempostack_storage_backend:sum\",type=~\"azure|gcs|s3\"}",
"{__name__=\"up\"}",
"{__name__=\"vendor_model:node_accelerator_cards:sum\",vendor=~\"NVIDIA\",model=~\"A100|RTX_A6000|RTX_4090|A40|V100\"}",
"{__name__=\"visual_web_terminal_sessions_total\"}",
"{__name__=\"workload:cpu_usage_cores:sum\"}",
"{__name__=\"workload:memory_usage_bytes:sum\"}",
Expand Down
12 changes: 12 additions & 0 deletions resources/services/telemeter-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down Expand Up @@ -288,6 +293,7 @@ objects:
- --whitelist={__name__="type:tempo_operator_tempostack_multi_tenancy:sum",type=~"enabled|disabled"}
- --whitelist={__name__="type:tempo_operator_tempostack_storage_backend:sum",type=~"azure|gcs|s3"}
- --whitelist={__name__="up"}
- --whitelist={__name__="vendor_model:node_accelerator_cards:sum",vendor=~"NVIDIA",model=~"A100|RTX_A6000|RTX_4090|A40|V100"}
- --whitelist={__name__="visual_web_terminal_sessions_total"}
- --whitelist={__name__="workload:cpu_usage_cores:sum"}
- --whitelist={__name__="workload:memory_usage_bytes:sum"}
Expand Down Expand Up @@ -389,6 +395,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"}
Expand Down Expand Up @@ -584,6 +595,7 @@ objects:
- --whitelist={__name__="type:tempo_operator_tempostack_multi_tenancy:sum",type=~"enabled|disabled"}
- --whitelist={__name__="type:tempo_operator_tempostack_storage_backend:sum",type=~"azure|gcs|s3"}
- --whitelist={__name__="up"}
- --whitelist={__name__="vendor_model:node_accelerator_cards:sum",vendor=~"NVIDIA",model=~"A100|RTX_A6000|RTX_4090|A40|V100"}
- --whitelist={__name__="visual_web_terminal_sessions_total"}
- --whitelist={__name__="workload:cpu_usage_cores:sum"}
- --whitelist={__name__="workload:memory_usage_bytes:sum"}
Expand Down

0 comments on commit fd2a906

Please sign in to comment.