Score:1

getting prometheus metrics from pdns

cn flag

Running pdns v4.7.0-0.alpha0.master. Have enabled web server and can see ports 8081, 8081 and 8082 (from localhost login). When I try to get /metrics from there (via curl) I get either "connection refused" or "Not found".

Anyone had success with this?

Score:1
qa flag

I was just having the same issue but worked out the problem so sharing here!

If you turned on the webserver in pdns.conf by just using api=yes, it just enables the API - and not the rest of the webserver's advantages!

So add webserver=yes to your pdns.conf file and reload PowerDNS. Then your metrics will come through wonderfully ✨

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.