blackbox_exporter
blackbox_exporter copied to clipboard
Support for dynamic configuration?
Hi,
I would like to set up a dynamic configuration for Blackbox exporter within k8s.
With Prometheus, you can load configuration files from a path on the disk, for example:
rule_files:
- /etc/prometheus/rules/*
This allows us to dynamically add files containing Prometheus rules rather than editing the main config file.
Similarly with the Blackbox exporter I would like to load modules dynamically rather than having them all in a single file as that file is being used by many different apps with many different needs.
Is there such possibility currently?
I know this comment was added a while ago, I want to add my thoughts, as I believe it would be a useful feature.
I would love it to be implemented like the Service Discovery feature in Prometheus, where you have one or more separate JSON files that would dynamically load. We have an setup where we add environments using script and this setup would make it a lot easier to add endpoints.
rule_files:
- /etc/prometheus/rules/rules1.json