Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add forwarding kubelet_running containers and pods metrics #1118

Merged
merged 1 commit into from
Nov 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,9 @@ kube-prometheus-stack:
## kubelet_runtime_operations_duration_seconds_count
## kubelet_runtime_operations_duration_seconds_sum
## kubelet_running_container_count
## kubelet_running_containers
## kubelet_running_pod_count
## kubelet_running_pods
## kubelet_docker_operations_latency_microseconds
## kubelet_docker_operations_latency_microseconds_count
## kubelet_docker_operations_latency_microseconds_sum
Expand All @@ -1293,7 +1295,7 @@ kube-prometheus-stack:
- url: http://$(CHART).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.kubelet
writeRelabelConfigs:
- action: keep
regex: kubelet;(?:kubelet_docker_operations_errors(?:|_total)|kubelet_(?:docker|runtime)_operations_duration_seconds_(?:count|sum)|kubelet_running_(?:container|pod)_count|kubelet_(:?docker|runtime)_operations_latency_microseconds(?:|_count|_sum))
regex: kubelet;(?:kubelet_docker_operations_errors(?:|_total)|kubelet_(?:docker|runtime)_operations_duration_seconds_(?:count|sum)|kubelet_running_(?:container|pod)(?:_count|s)|kubelet_(:?docker|runtime)_operations_latency_microseconds(?:|_count|_sum))
sourceLabels: [job, __name__]
## cadvisor container metrics
## container_cpu_usage_seconds_total
Expand Down