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

Hello,

I have a "counter" type metric used for HTTP status of several servers:
service.<node>.org.eclipse.jetty.servlet.ServletContextHandler.{2,3,4,5}xx-responses.count

This counter is initialized to zero and is always incremented by each node.

So when I want to graph the distribution of HTTP status by time for the node 
'node1' I use:
nonNegativeDerivative(service.node1.org.eclipse.jetty.servlet.ServletContextHandler.{3,2,5,4}xx-responses.count)

Then I have 4 lines on the same graph, one for 2xx, 3xx, 4xx, 5xx..
 

Now I want the same graph distribution summed for all the nodes.

I tried two approach that do not render the right graphs:

nonNegativeDerivative(service.*.org.eclipse.jetty.servlet.ServletContextHandler.{3,2,5,4}xx-responses.count)

-> Correct graph, but I have too many lines, I just want 2xx, 3xx, 4xx, 5xx

groupByNode(service.node1.org.eclipse.jetty.servlet.ServletContextHandler.{3,2,5,4}xx-responses.count,7,"nonNegativeDerivative")

-> Same graph than for one node, data from other nodes seems to be discarded

nonNegativeDerivative(groupByNode(service.node1.org.eclipse.jetty.servlet.ServletContextHandler.{3,2,5,4}xx-responses.count,7,"sumSeries"))

-> The graph seems just wrong.. value much lower.. I don't understand what's 
going on
Is it a bug?


Did someone tried to do something similar?
What approach did you took?

Best regards,
Stéphane

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

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to