-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The change from rate() to irate() is a breaking change #670
Comments
Using Original bad PR: #619 |
Average removes spikes and thus removes important data. In a lot of cases you want those spikes to be present on graphs. This is in contrast to alerts where you probably don't want to have spikes and More in https://www.robustperception.io/irate-graphs-are-better-graphs |
|
When it comes to graphs "removal" and "making spikes flat" are the same. In both cases, you are losing data from visualization. |
It's unpredictable whether the important spikes are at the end of the window, in which case |
This issue has not had any activity in the past 30 days, so the
Thank you for your contributions! |
Duplicate of #679 |
This one is about the name changing, while #679 is about the behaviour. |
@bboreham ah ok, I was thinking about contributing a |
Duplicating the recording rules would indeed address the breaking change, relating to other uses of the data. |
Submitting an issue so folks encountering the same problem as me can have an easier time finding out what happened. I recently upgraded to kube-prometheus-stack and discovered that CPU data no longer shows on old Grafana Kubernetes / Compute Resources / Workload dashboard that was hosted somewhere else. It turns out that the following change from rate() to irate() was the cause of the issue:
e996e00
In particular, the renaming from node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate to node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate can break any dashboard/rules etc referencing the old name. As a (temporary) workaround, I think it's possible for me to just recreate the old node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate recording rule.
Please feel free to add brief comments confirming the observation and close it. Thanks!
The text was updated successfully, but these errors were encountered: