PowerDNS “Graphing as a Service”
Over the past few months,we’ve worked on our graphing tool, which has proved to be a wonderful aid in debugging. If you want to get the best help from us in diagnosing your problems, read on.
PowerDNS Authoritative Server and PowerDNS Recursor can both emit statistics using the ‘carbon’ format as used by Graphite. This means that feeding your stats into the very powerful Graphite software is as easy as setting:
carbon-server=126.96.36.199 # or 2a02:2770:8::2635:0:1
To make this easier for everyone, we also run a public instance of Metronome on https://metronome1.powerdns.com/, and you are welcome to configure your PowerDNS products to send statistics by putting the following in pdns.conf or recursor.conf:
carbon-server= 188.8.131.52 # the IPv6 address 2a02:2770:8::2635:0:1 works as well
Your data will then appear in the dropdown with the name ‘pick-something’. If you don’t pick your own name, PowerDNS will use your hostname, but you might consider that to be too revealing. It might also trample existing data. Carbon travels over port 2003, and if PowerDNS can’t connect to the server, nothing is interrupted.
For the PowerDNS Recursor, you can even enable carbon reporting at runtime using:
rec_control set-carbon-server 184.108.40.206 pick-something
To disable, run ‘rec_control set-carbon-server’.
If you have any (performance) issues with PowerDNS you want help with, it is tremendously useful to turn on reporting to our Metronome instance – very often we can spot your problem from the graph quickly.
Now, our public Metronome service is of course public, but you can obscure your data by picking an innocuous carbon-ourname.
Private Metronome service is also available for holders of PowerDNS support agreements. Finally, Metronome is easy to install, so you can also benefit from it locally.
This is very useful I think. Is it possible to send statistics to a list of two or more Graphite/Metronome server?
This is on the very near-term roadmap, since this is actually what people need. We’re still pondering if we should send exactly the same statistics to N carbon servers, or send the most live ones…
Is there a chance to push my CPU and RAM Usage into your metronome?
Everything else works! Awesome!