graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04249
Re: [Question #233019]: Problems combining groupByNode with nonNegativeDerivative
Question #233019 on Graphite changed:
https://answers.launchpad.net/graphite/+question/233019
Description changed to:
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.*.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.*.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.