Hey guys, In the following discussion <https://groups.google.com/g/prometheus-users/c/a0uePOVkG1c/m/4u0NwDN5AwAJ> about the blackbox exporter Julius Volz mentioned the following:
The Blackbox targets to probe (like "https://google.com") can come from file_sd (or any other SD), no problem. You still need a scrape config in the Prometheus config that actually scrapes the Blackbox exporter, but it can get targets to probe from file_sd. *You can even vary the Blackbox Exporter probe module to use for each target by setting a "__param_module" hidden label on each target to override any "module" HTTP param that is set in the scrape config itself.* During my research I have not found an example that shows me how I can override module parameters on a per-target basis. My use case is that I'd like to set a different user agent or toggle the follow_redirects flag for some hosts without having to create another scraping job for that. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c2d120ec-04a7-4c2d-87fa-560b65d40ee3n%40googlegroups.com.

