]> git.ipfire.org Git - thirdparty/pdns.git/commit
add more variables to carbon keys
authorGibheer <gibheer+git@zero-knowledge.org>
Tue, 11 Sep 2018 18:39:39 +0000 (20:39 +0200)
committerGibheer <gibheer+git@zero-knowledge.org>
Thu, 20 Sep 2018 09:42:45 +0000 (11:42 +0200)
commitb0d4aa0b2eb04793bc570d5e02f47cc120b9de7d
treec661aa56eea6964096e416efd28a857a40506369
parent7f29b36615a732bd711a39b23a2e9421b94120ea
add more variables to carbon keys

The carbon key had the option to overwrite the hostname with a custom
one. But it was not possible to change either the instance or namespace,
which makes it harder to use in environments where multiple powerdns
instances are used for different purposes.

With this commit it is now possible to change the namespace and instance
part of the carbon key string. This makes it possible to differentiate
at more points or even group them easier together with other metrics,
for example the database used by pdns.
docs/settings.rst
pdns/auth-carbon.cc
pdns/common_startup.cc
pdns/rec-carbon.cc
pdns/recursordist/docs/settings.rst