From c044fb86e9a9022dc0e6eb75bb81a840bdc8661c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8B/Thor=28sten=29=3F/=20Schwesig?= <89909507+schwesig@users.noreply.github.com> Date: Tue, 22 Oct 2024 06:35:57 -0400 Subject: [PATCH] feat: adding more metrics to allowlist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit supporting the ai4dd project replacing single kube_pod_ metrics by a regEx __name__=~"(kube_pod_.*)" Signed-off-by: ​/Thor(sten)?/ Schwesig <89909507+schwesig@users.noreply.github.com> --- .../configmap.yaml | 31 +++++++++++++------ 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/cluster-scope/base/core/configmaps/observability-metrics-custom-allowlist/configmap.yaml b/cluster-scope/base/core/configmaps/observability-metrics-custom-allowlist/configmap.yaml index 5d3a4e2e..d2db6f1f 100644 --- a/cluster-scope/base/core/configmaps/observability-metrics-custom-allowlist/configmap.yaml +++ b/cluster-scope/base/core/configmaps/observability-metrics-custom-allowlist/configmap.yaml @@ -16,20 +16,30 @@ data: - node_network_transmit_bytes_total - node_network_transmit_errs_total - node_network_transmit_packets_total - - kube_pod_container_info - - kube_pod_container_status_restarts_total - - kube_pod_info - - kube_pod_owner - - kube_pod_resource_limits - - kube_pod_resource_request - - kube_pod_status_container_ready_time - - kube_pod_status_initialized_time - - kube_pod_status_ready_time - - kube_pod_status_unschedulable - loki_distributor_bytes_received_total - autopilot_health_checks - autopilot_health_report_total - scrape_series_added + - container_cpu_usage_seconds_total + - container_memory_working_set_bytes + - pod_cpu_usage_seconds_total + - pod_memory_working_set_bytes + - resource_scrape_error + - scheduler_pending_pods + - scheduler_pod_scheduling_attempts + - scheduler_schedule_attempts_total + - container_memory_usage_bytes + - container_memory_rss + - container_memory_cache + - container_memory_swap + - container_network_transmit_bytes_total + - container_network_receive_bytes_total + - container_fs_usage_bytes + - container_fs_reads_total + - container_fs_writes_total + - container_cpu_cfs_throttled_seconds_total + - container_memory_max_usage_bytes + - container_memory_failures_total matches: - __name__=~"(ipmi_.*)" - __name__=~"(ceph_.*)" @@ -38,3 +48,4 @@ data: - __name__=~"(DCGM_FI_.*)" - __name__=~"(argocd_.*)" - __name__=~"(kube_node_.*)" + - __name__=~"(kube_pod_.*)"