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

Please add derivative example #15

Open
omry opened this issue Dec 27, 2011 · 1 comment
Open

Please add derivative example #15

omry opened this issue Dec 27, 2011 · 1 comment

Comments

@omry
Copy link

omry commented Dec 27, 2011

I`m trying to build a CPU usage graph, and I can't figure out how to run derivative on the series.
can you please improve the doc to include such an example, its by far the most commonly used function in graphite.

@omry
Copy link
Author

omry commented Dec 27, 2011

I got this far, but for some reason the order of the stack is not what appears in the graph definition.
any idea?

:graphs:
  cpu_usage:
    title: CPU Usage
    targets:
      system.cpu.iowait:
        !omap
        - :color: orange
        - :derivative:
        - :key: CPU/IO wait
      system.cpu.system:
        !omap
        - :color: red
        - :derivative:
        - :key: CPU/system
      system.cpu.user:
        !omap
        - :color: green
        - :derivative:
        - :key: CPU/user
      system.cpu.idle:
        !omap
        - :color: black
        - :derivative:
        - :key: CPU/idle
    areaMode: stacked
    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