The results calculated by irate are different. #13998
Unanswered
Mr-Lee-long
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It looks like your graph might not be capturing all the values because the step interval (the interval between two points) could be longer than 30 seconds. This means you might miss some data points sometimes. Using the A better approach would be to use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What did you do?
this is my expression: irate(node_cpu_seconds_total{cpu="0", env="product", instance="10.43.2.64", job="product_node-exporter", meta_consul_service_port="9100", mode="iowait", tags="kubernetes-nodes"}[1m])
i clicked the execute button in the 30s, and i got three different trend results.
and i only have one single data,no copy, no slave or multiple masters.
What did you expect to see?
I think the result should be the same every time, or much the same。
What did you see instead? Under which circumstances?
1、Most of the time like this.
2、sometime like this.
3、and like this.
System information
centos7.8 3.10.0-1160.99.1.el7.x86_64
Prometheus version
Prometheus configuration file
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions