We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kubelet_running_pod_count, container_cpu_usage_seconds_total and container_memory_usage_bytes have no label node
kubelet_running_pod_count
container_cpu_usage_seconds_total
container_memory_usage_bytes
node
Example:
kubelet_running_pod_count{beta_kubernetes_io_arch="amd64",beta_kubernetes_io_instance_type="m5a.large",beta_kubernetes_io_os="linux",failure_domain_beta_kubernetes_io_region="eu-central-1",failure_domain_beta_kubernetes_io_zone="eu-central-1a",instance="ip-10-102-36-19.eu-central-1.compute.internal",job="kubernetes-nodes",kops_k8s_io_instancegroup="nodes",kubernetes_io_hostname="ip-10-102-36-19.eu-central-1.compute.internal",kubernetes_io_role="node"}
The text was updated successfully, but these errors were encountered:
Hi! Thank you for your PR I think this issue (#9) will help you
Sorry, something went wrong.
Adding to my prometheus.yml following rules solved the issue
- job_name: 'kubernetes-nodes-cadvisor' ... relabel_configs: ... # add node label for DevOpsProdigy KubeGraf compatibility - action: labelmap regex: __meta_kubernetes_node_label_kubernetes_io_hostname replacement: node - job_name: 'kubernetes-nodes' ... relabel_configs: ... # add node label for DevOpsProdigy KubeGraf compatibility - action: labelmap regex: __meta_kubernetes_node_label_kubernetes_io_hostname replacement: node
And here is Prometheus documentation: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
No branches or pull requests
kubelet_running_pod_count
,container_cpu_usage_seconds_total
andcontainer_memory_usage_bytes
have no labelnode
Example:
kubelet_running_pod_count{beta_kubernetes_io_arch="amd64",beta_kubernetes_io_instance_type="m5a.large",beta_kubernetes_io_os="linux",failure_domain_beta_kubernetes_io_region="eu-central-1",failure_domain_beta_kubernetes_io_zone="eu-central-1a",instance="ip-10-102-36-19.eu-central-1.compute.internal",job="kubernetes-nodes",kops_k8s_io_instancegroup="nodes",kubernetes_io_hostname="ip-10-102-36-19.eu-central-1.compute.internal",kubernetes_io_role="node"}
The text was updated successfully, but these errors were encountered: