Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

[Dashboarding] Zero values showing up in df timeseries in prometheus #113

Description

@pleimer

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:

image

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions