# Metricbeat: collects k8s pods cpu which is lower than actually used

**URL:** <https://discuss.elastic.co/t/metricbeat-collects-k8s-pods-cpu-which-is-lower-than-actually-used/279215>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 21, 2021, 2:17am UTC](https://discuss.elastic.co/t/metricbeat-collects-k8s-pods-cpu-which-is-lower-than-actually-used/279215 "2021-07-21T02:17:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SperChung-11](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sperchung-11/32/91170_2.png) [@SperChung-11](https://discuss.elastic.co/u/SperChung-11)\
**Post date:** [July 21, 2021, 2:17am UTC](https://discuss.elastic.co/t/metricbeat-collects-k8s-pods-cpu-which-is-lower-than-actually-used/279215/1 "2021-07-21T02:17:31Z")

</div>

We are using metricbeat to collects k8s pods cpu. In the beginning, it can collects the cpu collectly. After running for serveral weeks or serveral months, we found that the pods cpu metricbeat collects is lower than actually used. Finally, it recovers while we restart the metricbeat. We can see as follows graph.

1.Metricbeat configuration:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/3/83759edbc1d9350d8936e2e17ebe9f18d13e2895.png)

2.After restart metricbeat:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0e05c72e69d096308e22457812c2415ca2693be3.png)

For confirmed bugs, please report:

- Version: 7.6.0
- Operating System: EulerOS 2.5
- Steps to Reproduce: it happenes randomly, it's difficult to reopen

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 18, 2021, 4:18am UTC](https://discuss.elastic.co/t/metricbeat-collects-k8s-pods-cpu-which-is-lower-than-actually-used/279215/2 "2021-08-18T04:18:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
