You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your hostname includes dots, they will be replaced by underscores so as not to confuse the namespace.
If you include dots in carbon-ourname, they will not be replaced by underscores. As PowerDNS assumes you know what you are doing if you override your hostname. The carbon-ourname be will unconditionally prefixed with pdns.
Expected behaviour
carbon-ourname is not prefixed with anything because it is a setting for people that know what they are doing.
Actual behaviour
metric name is statically nailed down to pdns.. see pdns/auth-carbon.cc line 64
Other information
pdns/auth-carbon.cc line 64 does the unconditional prefix of "pdns."
Short description
when carbon-ourname is set in config, it should not be prefixed with pdns.
alternatively update documentation https://doc.powerdns.com/authoritative/performance.html: Sending metrics to Graphite/Metronome over Carbon: Warning:
to:
Expected behaviour
carbon-ourname is not prefixed with anything because it is a setting for people that know what they are doing.
Actual behaviour
metric name is statically nailed down to pdns.. see pdns/auth-carbon.cc line 64
Other information
pdns/auth-carbon.cc line 64 does the unconditional prefix of "pdns."
This is related to #2362.
You could also try a wrap up of all these carbon related issues:
In my opinion the static strings 1 and 3 need to be configurable.
1 carbon-namespace
2 carbon-ourname
3 carbon-instancename
with the following defaults:
carbon-namespace : "pdns"
carbon-ourname : hostname ~=s,.,_,g
carbon-instancename : config-name
Usecase
I want to consolidate my metrics from collectd and pdns auth,recursor into one namespace.
The text was updated successfully, but these errors were encountered: