blackbox_exporter icon indicating copy to clipboard operation
blackbox_exporter copied to clipboard

allow specification of query_name by probe param for dns prober

Open FOWind opened this issue 1 year ago • 4 comments

Currently dns prober only specify query_name by blackbox_exporter configuration file.

In some scenes, I want to specify query_name by prometheus targets config.

I found in tcp and http prober, user can specify hostname by 'hostname' query param.

I think dns prober can reuse hostname query param to specify query_name .

FOWind avatar Aug 02 '23 03:08 FOWind

Anything new regarding this? I would also like to be able to specify query_name in the URL using a parameter.

vilhelmprytz avatar Dec 27 '23 14:12 vilhelmprytz

Anything new regarding this? I would also like to be able to specify query_name in the URL using a parameter.

Can refer to https://github.com/prometheus/blackbox_exporter/pull/1105 and build it yourself if you need.

FOWind avatar Dec 28 '23 03:12 FOWind

Anything new regarding this? I would also like to be able to specify query_name in the URL using a parameter.

Can refer to https://github.com/prometheus/blackbox_exporter/pull/1105 and build it yourself if you need.

Thanks for the tip, will try! @FOWind

vilhelmprytz avatar Dec 29 '23 23:12 vilhelmprytz

Anyone know when this will be available? We also have a use case for it.

JDA88 avatar Feb 13 '24 13:02 JDA88