sumSeries removes color of different series

Asked by Dylan

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!

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dylan (dylan-r-public) said :
#1

Perhaps this just isn't possible based on the way jenkins graphs (build based) verses graphite (time based). As a reminder, this is what I'm going for: http://prntscr.com/7a8uel

I visioned going about this by combining the success and failure data points, but have different colors to signify between the two. Then, fill in the color beneath data points to make it more prominent (perhaps a stacked area mode).

Any ideas on how I can accomplish this?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.