Let's say, we collect NTP-offset statistics from 500 servers. Each is known to Graphite as stats.hostname.ntpstats.offset.

I'd like my chart to show two curves:

  • A particular host's offset (easy)
  • The average of all hosts (with or without the one host above)

Can this be done? If not with Graphite, how about Grafana?

1 Answer 1


You can do this by using a wildcard:


  • Awesome, thanks! Any idea, why avg(abs(stats.*.ntpstats.offset)) does not work, though? I get a KeyError-exception from Graphite...
    – Mikhail T.
    Jul 16, 2016 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.