Blackbox Exporter endpoints with FQDN

Viewed 29

i was wonder myself how to get in Prometheus UI under the Blackbox-Exporter section the endpoints with their FQDN. Let's say i want to probe https://www.google.de but i only get http://localhost:9115/probe, here is my example configuration:

- job_name: blackbox-exporter
  metrics_path: /probe
  static_configs:
    - targets: ["https://www.google.de/"]
      labels:
        module: https_get
  relabel_configs:
    - source_labels:
        - __address__
      target_label: __param_target
    - source_labels:
        - __param_target
      target_label: instance
    - source_labels:
        - module
      target_label: __param_module
    - target_label: __address__
      replacement: localhost:9115

Here the output in Prometheus UI:

enter image description here

Is there a way to get https://www.google.de instead of http://localhost:9115/probe. I would appreciate any suggestion. Thank you in advance.

1 Answers

I think you can get what you want at the following URL:

https://BLACKBOX-SERVER/probe?target=https://www.google.de
Related