Adds some config to support loading scrape configs from disk, rather than be included in the main prometheus.yml file. This option came in at about Prom version 2.45 IIRC. Since it's so new, took steps to try make it not appear anywhere unless it was requested (it'll make old Prom fail to load).
Happy to take some direction on how to test it better.
Pull Request (PR) description
Adds some config to support loading scrape configs from disk, rather than be included in the main prometheus.yml file. This option came in at about Prom version 2.45 IIRC. Since it's so new, took steps to try make it not appear anywhere unless it was requested (it'll make old Prom fail to load).
Happy to take some direction on how to test it better.