← Back to team overview

graphite-dev team mailing list archive

Re: [Question #204962]: need help with combining functions

 

Question #204962 on Graphite changed:
https://answers.launchpad.net/graphite/+question/204962

    Status: Open => Answered

Michael Leinartas proposed the following answer:
I think this should be possible - so you want basically the average
combined user+system of each system across all CPUs (one line per
server) right? How about
averageSeriesWithWildcards(sumSeriesWithWildcards(*.cpu.*.cpu.{user,system}.value,4),0)
- that will (I think) sum up the user and system metrics for each
permutation of host and cpu number, and then average those values for
every host.

These functions (the *WithWildcards and groupByNode) are the most
confusing available. Experiment with them a while and you should be able
to get something working

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.