1 May 2008 10:15
Stack areas and line on the same graph
Tom Haddon <tom <at> greenleaftech.net>
2008-05-01 08:15:31 GMT
2008-05-01 08:15:31 GMT
Hi Folks,
I'm wondering if it's possible to have a number of "stacked" areas on a
graph (in my case, 6), as well as a line. The line should be the
absolute value for that metric.
I have been unable to get a config that works for this. I seem to be
able to get the stacked areas to show easy enough, but either the line
doesn't show at all or I get two lines for two metrics instead of just
one, as I'm hoping for. Here's the relevant snippet of my config:
targetType ch
ds =
ch_one,ch_two_to_five,ch_six_to_fifteen,ch_sixteen_to_sixty,ch_over_sixty,ch_imports
view = "CH Usage"
view "CH Usage"
elements =
ch_one,ch_two_to_five,ch_six_to_fifteen,ch_sixteen_to_sixty,ch_over_sixty,ch_imports
paint-nan = true
dataSource ch_one
ds-source = field:%metrics%:%dbname%_ch_import_one
rrd-ds-type = GAUGE
graph ch_one
bytes = false
si-units = false
legend = "1"
y-axis = "projects"
draw-as = STACK
dataSource ch_two_to_five
ds-source = field:%metrics%:%dbname%_ch_import_two_to_five
(Continue reading)
RSS Feed