rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.17k stars 445 forks source link

Encounter negative values of CPU Busy during upgrade/downtime of platform #73

Closed ChengYanJin closed 5 months ago

ChengYanJin commented 3 years ago

Hello,

In our use case, we imported the node-exporter-full dashboard to monitor our platform.

As shown in the screenshot, we got negative values during the upgrade/downtime. image so we are considering switching to another expression to avoid the unexpected negative values.

100 - (avg by (instance) (irate(node_cpu_seconds_total{mode="idle",instance=~"${instanceIP}:${PORT_NODE_EXPORTER}"}[5m])) * 100)

image

Would do you consider it's an issue or a bug on your side? And how would you suggest to solve the issue?

Thanks in advance!

rfmoz commented 7 months ago

Please, update to the latest dashboard version, it have improvements over cpu calculation.