Skip to content

a way to graph as a percentage of a total #121

@X-Trade

Description

@X-Trade

Quite often we want to display a graph in the context of a total. e.g. percentage of 404 responses out of all responses.

A stacked graph achieves this visually but there are situations where this still does not help:

Take collectd's cpu usage. It reports jiffies as a counter (we had to tweak the stock plugin to get this to work at all). The problem here is that jiffies are not necessarily a constant number per second. If we stack all of those counters together, we get spikes above and below the natural maximum line.

So what I propose is a function 'percentage of' or 'percent by' that would work similarly to 'sum by'.
Then we could query for e.g: 'stack collectd_plugin=cpu sum by core group by server percent by type'
For each graph the values would be represented as a sum of the total of all types, for each group.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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