Putting this here before I forget this issue exists.
Certain dashboarding components utilize division in queries to calculate percentages. If a divisor returns zero, Prometheus returns a 100% value (or that is how Grafana shows division error). The root of the problem, then, is that a time series has a zero value in it in the first place.
I see this when graphing some of the metrics from the df collectd plugin. For example, here is an erratic zero causing the very graphing issue described above, where disk usage reported by the collectd df plugin drops from 15GB to 0 in a single instant and then back up:

On a wider scale, it is easier to see why this is problematic:

This may cause alarms to be triggered and cause confusion for the end user.
Putting this here before I forget this issue exists.
Certain dashboarding components utilize division in queries to calculate percentages. If a divisor returns zero, Prometheus returns a 100% value (or that is how Grafana shows division error). The root of the problem, then, is that a time series has a zero value in it in the first place.
I see this when graphing some of the metrics from the df collectd plugin. For example, here is an erratic zero causing the very graphing issue described above, where disk usage reported by the collectd df plugin drops from 15GB to 0 in a single instant and then back up:
On a wider scale, it is easier to see why this is problematic:

This may cause alarms to be triggered and cause confusion for the end user.