Skip to content

Commit

Permalink
feat(metrics): tune kubeletstats metrics (again)
Browse files Browse the repository at this point in the history
Re-enable all metrics that have been disabled in 136bb8f, only
explicitly disable the deprecated metrics. The metrics that are off by
default, and have been explicitly enabled in 136bb8f are still
enabled.
  • Loading branch information
basti1302 committed Nov 28, 2024
1 parent 136bb8f commit 8dd92e2
Showing 1 changed file with 10 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,26 +124,22 @@ receivers:
collection_interval: 20s
endpoint: ${env:K8S_NODE_NAME}:10250
metrics:
k8s.node.cpu.usage:
enabled: true
# deprecated -> container.cpu.usage
container.cpu.utilization:
enabled: false
# deprecated -> k8s.node.cpu.usage
k8s.node.cpu.utilization:
enabled: false
k8s.node.cpu.time:
enabled: false
k8s.node.memory.rss:
enabled: false
k8s.node.memory.working_set:
enabled: false
k8s.node.memory.page_faults:
enabled: false
k8s.pod.cpu.time:
enabled: false
k8s.pod.cpu.usage:
enabled: true
# deprecated -> k8s.pod.cpu.usage
k8s.pod.cpu.utilization:
enabled: false

container.cpu.usage:
enabled: true
k8s.node.cpu.usage:
enabled: true
k8s.pod.cpu.usage:
enabled: true
k8s.pod.cpu_limit_utilization:
enabled: true
k8s.pod.cpu_request_utilization:
Expand All @@ -152,29 +148,6 @@ receivers:
enabled: true
k8s.pod.memory_request_utilization:
enabled: true
k8s.pod.memory.rss:
enabled: false
k8s.pod.memory.working_set:
enabled: false
k8s.pod.memory.page_faults:
enabled: false
k8s.pod.memory.major_page_faults:
enabled: false
container.cpu.usage:
enabled: true
# deprecated -> container.cpu.usage
container.cpu.utilization:
enabled: false
container.cpu.time:
enabled: false
container.memory.rss:
enabled: false
container.memory.working_set:
enabled: false
container.memory.page_faults:
enabled: false
container.memory.major_page_faults:
enabled: false

{{- if .DevelopmentMode }}
{{- /*
Expand Down

0 comments on commit 8dd92e2

Please sign in to comment.