You have several options here ...
- Combine 2 graphs on a graph using drag and drop on the control panel
OR
Combine 2 or more wildcards
- Open your first chart in the control panel
- Open the second chart in the same control panel.
- Click and hold the second chart and drag it along the first chart
Use groupByNode () and wildcard
This is not so good and will not always work, but you can do it on one line.
sumSeriesWithWildcards(base.foo.bar.{positive,negative}.*, 3)
This will do the following:
- Select all all charts that match base.foo.bar.positive. * and base.foo.bar.negative. *
- Summarize data with node at position 3: positive, negative
You might want to read the following page: http://graphite.readthedocs.org/en/1.0/functions.html
dannyla
source share