[prometheus-users] Re: Config DNS Prometheus/Blackbox_Exporter

2024-04-09 Thread 'Brian Candler' via Prometheus Users
One exporter scrape = one probe test and I think that should remain. You can get what you want by expanding the targets (which is a *list* of targets+labels): static_configs: - targets: - 1.1.1.1 - 185.228.168.9 labels: queryname: www.google.com -

[prometheus-users] Re: Config DNS Prometheus/Blackbox_Exporter

2024-04-09 Thread Vincent Romero
Hello, this worked With the new feature with simple domain works, but considered whether the label required adding N domains? Y try add other domain in the same labels - job_name: 'blackbox-dns-monitor' scrape_interval: 5s metrics_path: /probe params: module: [dns_probe]

[prometheus-users] Re: Config DNS Prometheus/Blackbox_Exporter

2024-04-09 Thread Vincent Romero
i will try make build, with this change El Saturday, April 6, 2024 a la(s) 2:45:29 PM UTC-3, Brian Candler escribió: > You're correct that currently the qname is statically configured in the > prober config. > > A patch was submitted to allow what you want, but hasn't been merged: >