<p>Sorry in advance as this is probably a very easy question to answer, I am pretty new to prometheus and grafana and I am trying to figure out where this metric in prometheus is coming from &quot;container_cpu_usage_seconds_total&quot;.</p>
<p>I have found online that all metrics starting with &quot;node_&quot; come from the node exporter pod. So I am just wondering if this metric is coming prometheus itself or is this also coming from the node exporter as we currently have no annotations set on our pods but are getting these metrics inside grafana.</p>
<p>Thanks in advance!</p>

<p>The metric</p>
<p><strong>container_cpu_usage_seconds_total</strong></p>
<p>comes from <code>cAdvisor</code> service embedded in <code>kubelet</code>, exposed through port <code>10250</code> and endpoint <code>/metrics/cadvisor</code>.</p>
<p>The metric's source code definition is in:</p>
<p><a href="https://github.com/google/cadvisor/blob/364876670b745035739f217c3f1af85301731a43/metrics/prometheus.go#L163" rel="noreferrer">cAdvisor/metrics/prometheus.go</a></p>
