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

Feature request: add possibility to define discoveries consumed by prometheus #1161

Open
lufik opened this issue Nov 28, 2023 · 0 comments
Open

Comments

@lufik
Copy link

lufik commented Nov 28, 2023

I would like to propose the ability to blackbox_exporter to provide also list of scrapes to prometheus.
So the admin of blackbox machine can propose also scrapes and not only modules.

What will be the blackbox.yml module config.

This could be added into blackbox.yml, where files contains only the list under configs (and can be generated).

discovery:
  files:
  - <fileglob>
  configs:
  - module: http_2xx
    targets:
    - <host/url>

What will be the prometheus.yml scrape config.

- job_name: "exported-blackbox-probes"
  http_sd_configs:
  - url: http://prometheus-blackbox-exporter:9115/discovery

I try to create v1 implementation so we can easier discuss about it: #1160

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