Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

derivative(sumSeries(..)) vs sumSeries(derivative(..)) #18

Open
omry opened this issue Dec 28, 2011 · 0 comments
Open

derivative(sumSeries(..)) vs sumSeries(derivative(..)) #18

omry opened this issue Dec 28, 2011 · 0 comments

Comments

@omry
Copy link

omry commented Dec 28, 2011

Hi,
I have the a problem with a combined graph (cluster view) of a series I need to run through derivative.
The correct form should be:

sumSeries(derivative({web*}.network.netstat.active)

but instead pencil creates a graph using

derivative(sumSeries({web*}.network.netstat.active))

Since the counters on the web servers are not aligned, you get really messed up graphs from the second call.
This is my netstat graph definition, is there anything I can do to get a correct graph?

  netstat:
    title: Netstat
    targets:
      network.netstat.active:
        !omap
        - :color: orange
        - :derivative:
        - :key: Active
      network.netstat.established:
        !omap
        - :color: green
        - :derivative:
        - :key: Established
      network.netstat.failed:
        !omap
        - :color: red
        - :derivative:
        - :key: Failed
      network.netstat.passive:
        !omap
        - :color: blue
        - :derivative:
        - :key: Passive
      network.netstat.reset:
        !omap
        - :color: purple
        - :derivative:
        - :key: Reset
    hosts: [*]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant