Ticket #261 (new enhancement)

Opened 22 months ago

Last modified 22 months ago

Aggregate function for state/enum values

Reported by: human Owned by: oetiker
Priority: major Milestone:
Component: rrd_create Version: 1.3.8
Keywords: Cc: mmitar@…

Description

We are using RRDtool also for state/enum values, where we assign each state a number and then use intervals (because of interpolation) to plot them accordingly. This works quite nicely especially when you use color of the background to represent the state and over it other graphs.

The problem we are having is when we want to make graphs for other time spans. Aggregate functions available are not useful for this as they are operating just on their numerical values.

Useful aggregate function in this case would be something like using the state in which the system was the most as an aggregate value for a given time span.

This can also be generalized to numeric values with making a histogram (with some bin width) from values and choosing the value with most counts as an aggregate value. In this way this can be also useful for other types of values.

Change History

comment:1 Changed 22 months ago by oetiker

to make something like this work 'in general' you would have to come up with generic consolidation functions to use in RRAs as well and maybe even a new DS type otherwhise I would expect all sorts of interesting things to happen as the wider public uses such functionality ... any thoughts on this ?

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.