graphite-graph-dsl icon indicating copy to clipboard operation
graphite-graph-dsl copied to clipboard

Issue when displaying a mix of Stacked and Line Graph

Open manasg opened this issue 13 years ago • 0 comments

Hi, I ran into a couple of issues when plotting the following scenario -

Metrics Server1 - Requests Served Server2 - Requests Served Total (Server1 + Server2) - Requests Served

Desired Plot Server1 and Server2 are stacked. Total is displayed as a line. Legend - CactiStyle for all three metrics

Setting the area: to stacked in the DSL stacks everything and thus giving the impression that the total is really high.

I tried the stacked function in Graphite

Using the graphite composer -> /render? target=stacked(ip-10-245-39-2.requests)&target=stacked(ip-10-244-221-182..requests)&target=sumSeries(ip*..requests)

This works as expected - giving me the desired plot, but I discovered a bug in the CactiStyle Legend - https://github.com/graphite-project/graphite-web/issues/115

I would love to hear any suggestions on the best approach here.

manasg avatar Dec 07 '12 15:12 manasg