← Back to team overview

graphite-dev team mailing list archive

[Question #267484]: sumSeries removes color of different series

 

New question #267484 on Graphite:
https://answers.launchpad.net/graphite/+question/267484

Hi All,

I have two rspec duration metrics: Success and Failures. I want to combine these two series into one line, but have a green line for success, red for fail.

Does anyone know how I can achieve this?

When using sumSeries() to combine the two, it removes the color. This is what I'm using:
sumSeries(group(color(stats.gauges.smoca.failure.duration, "red"), color(stats.gauges.smoca.success.duration, "green")))

I am trying to get my graph to look similar to Jenkins' build trend time chart:
http://prntscr.com/7a8uel

This is what I get:
http://prntscr.com/7a8ull

This is what it looks like without sumseries (two different lines):
http://prntscr.com/7a8uph

These are the stacked data points:
http://prntscr.com/7a8uug

Really appreciate any help!

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.