Skip to content
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

RFE: Expose DNS prober metrics for the queried name and query type #1208

Open
siebenmann opened this issue Mar 14, 2024 · 0 comments
Open

RFE: Expose DNS prober metrics for the queried name and query type #1208

siebenmann opened this issue Mar 14, 2024 · 0 comments

Comments

@siebenmann
Copy link
Contributor

Today it is troublesome to use Blackbox to monitor a bunch of DNS names that you want to check always resolve and alert if they fail, because there is a lot of repetition and duplication needed (multiple Blackbox modules, multiple Prometheus scrape configurations, even multiple alerts). One of the troublesome areas is that if you want to put details about what DNS name and query type in your alert messages, you don't have this information available as labels on the DNS probe metrics from Blackbox and have to source them from elsewhere (separate alerts for each module, magic knowledge of how your DNS module names are formatted so you can split them, add labels to the scrape configurations, there are various ugly options). To help this situation, Blackbox could easily expose an info metric that had this information in labels; you could then use standard PromQL mechanisms to pull this information into your alerts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant