-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerDNS recursor check #2108
PowerDNS recursor check #2108
Conversation
from checks import AgentCheck | ||
|
||
# Other | ||
import json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should import simplejson instead, it's more efficient
Thanks a lot @AntoCard for this! I think we should explicitly list the metrics that we want to collect (it will be also easier to send them with the more appropriate type). Thanks again! |
@AntoCard I wanted to echo Remi's thanks here too. This looks great. Lets sync up on what metrics make sense to pull in by default, and maybe collaborate on a readme for setup so that folks know what the requirements/dependencies are. |
Hi guys, thanks for the feedback. It's really useful. I'll work in improving this and update my PR. Cheers. |
@AntoCard Have you had a chance to review the feedback? We'd love to include this in an upcoming release. |
Hi @irabinovitch, I'm going to collect a list of the metrics we find useful here in Notonthehighstreet, maybe we can use some of them as default metrics. |
@AntoCard Sounds good. Looking forward to it! |
@AntoCard Were you able to look at collecting a list of metrics? We're hoping for a short window between 5.7 and 5.8, so would be great to get this addressed and included early. |
@irabinovitch this are the queries we use more often:
|
This PR is great! Gauges
Counters
Histograms Would be nice if the PR could be extended to derive histogram metrics from these cumulative histogram counters. Otherwise we can of course just submit them as counters.
|
@AntoCard 😆 you beat me to it by a minute! |
@janeczku your list is great! Are you using it in a Docker/Mesos environment? |
Almost. I am running multiple instances of dnsdist and PowerDNS in a Docker/Rancher environment. I am currently tracking PowerDNS metrics with New Relic but, well, i really would like to switch over to DataDog... 😆 |
@@ -0,0 +1,6 @@ | |||
init_config: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick but you should remove the .j2
file extension.
Thanks a lot guys! Do you think you could add a test similar to our other integrations tests ? It can be mocked if it's not easy to set up powerdns |
Also, we should likely only include the metrics that are relevant. It's better than collecting metrics that are not useful |
Closing in favor of #2490 |
Check for PowerDNS recursor metrics. Needs pdns-recursor experimental web server active.