Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upwhich metric is the pod actual metric #5041
Comments
dengceltics
closed this
Dec 26, 2018
dengceltics
reopened this
Dec 26, 2018
dengceltics
changed the title
I get three metrics which have same name and different labels when i
which metric is the pod actual metric
Dec 26, 2018
This comment has been minimized.
This comment has been minimized.
|
@dengceltics This question seems to be more on a usage side, I suggest you to use prometheus-users mailing list or |
This comment has been minimized.
This comment has been minimized.
Thanks. But the question confused me is that the pod named Sorry,i'll go #prometheus channel after i solve this problem. |
This comment has been minimized.
This comment has been minimized.
|
Maybe |
This comment has been minimized.
This comment has been minimized.
|
Closing it for now. As @codesome already wrote, it is a usage question, not an issue. |
dengceltics commentedDec 26, 2018
•
edited
I get three metrics when i check container_memory_max_usage_bytes{pod_name="prometheus-core-6b5dc8dd4d-z4dvl"}.
Here is the details of the picture:
metric1:
container_memory_max_usage_bytes{beta_kubernetes_io_arch="amd64",beta_kubernetes_io_os="linux",cluster="prod-kubernetes",id="/kubepods/podff7725bf-08da-11e9-a53f-066788000017",instance="node-rwc3apul",job="kubernetes-cadvisor",kubernetes_io_hostname="node-rwc3apul",namespace="monitoring",pod_name="prometheus-core-6b5dc8dd4d-z4dvl"}
metric2:
container_memory_max_usage_bytes{beta_kubernetes_io_arch="amd64",beta_kubernetes_io_os="linux",cluster="prod-kubernetes",container_name="prometheus",id="/kubepods/podff7725bf-08da-11e9-a53f-066788000017/babf8a744fb4f9297dc1d095d89a6444fcce655753396dc66e770ec835241539",image="sha256:42e450d926a80488ea5166225a197da923fd085efed20b811c324842e8352ecc",instance="node-rwc3apul",job="kubernetes-cadvisor",kubernetes_io_hostname="node-rwc3apul",name="k8s_prometheus_prometheus-core-6b5dc8dd4d-z4dvl_monitoring_ff7725bf-08da-11e9-a53f-066788000017_0",namespace="monitoring",pod_name="prometheus-core-6b5dc8dd4d-z4dvl"}
metric3:
container_memory_max_usage_bytes{beta_kubernetes_io_arch="amd64",beta_kubernetes_io_os="linux",cluster="prod-kubernetes",container_name="POD",id="/kubepods/podff7725bf-08da-11e9-a53f-066788000017/17c3cafe254d195027db61143ddfb247c3b0a8a845efebf3bdb3973fa214db70",image="10.4.79.28:5000/gcr.io/google_containers/pause-amd64:3.1",instance="node-rwc3apul",job="kubernetes-cadvisor",kubernetes_io_hostname="node-rwc3apul",name="k8s_POD_prometheus-core-6b5dc8dd4d-z4dvl_monitoring_ff7725bf-08da-11e9-a53f-066788000017_0",namespace="monitoring",pod_name="prometheus-core-6b5dc8dd4d-z4dvl"}
So,which is the pod "prometheus-core-6b5dc8dd4d-z4dvl" "container_memory_max_usage_bytes" metric .