Question #195651 on Graphite changed:
https://answers.launchpad.net/graphite/+question/195651
Status: Open => Answered
Daniel Lawrence proposed the following answer:
One of the advantages of the graphite is its ease to build a complex
graph using multiple targets/data sources and putting them all together
on the same graph.
nPercentile(path.to.metric,99) # 99th Percentile
nPercentile(path.to.metric,97) # 97th Percentile
nPercentile(path.to.metric,95) # 95th Percentile
movingMedian(path.to.metric,5) # Median ( moving )
movingAverage(path.to.metric,5) # Average ( moving )
http://graphite:8000/render?from=-7days&until=now&width=400&height=250&target=nPercentile(path.to.metric%2C97)&target=movingMedian(path.to.metric%2C5)&target=movingAverage(path.to.metric%2C5)&target=nPercentile(path.to.metric%2C99)
Taking this approach one graph can indeed show multiple targets.
http://readthedocs.org/docs/graphite/en/latest/functions.html
* where path.to.metric is a real - path to a metric.
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp