Closed Aneurysm9 closed 3 years ago
This is a change that needs to be made in the Operator after #33 is completed.
PR https://github.com/open-telemetry/opentelemetry-operator/pull/389 in the Operator repo is in review currently.
@Aneurysm9 is there anything else that needs to be done. The previous PRs have been merged.
This has been completed with the Operator's target allocation capability.
To enable the OTel Operator to perform Prometheus scrape target identification for a set of Collector instances in support of #6 we need to be able to identify and extract all
*_sd_config
andrelabel_config
entries in eachscrape_config
entry in the Prometheus receiver configuration. All*_sd_config
entries should be replaced by a singlefile_sd_config
entry referencing a file that can be updated by the Collector Prometheus receiver's target update mechanism (to be constructed) prior to the configuration being used to create aConfigMap
for Collector instances. The extracted configurations should be preserved for use by the target discovery and distribution mechanism to be built in the Operator.This issue should be used to track the design of the SD configuration interception mechanism in the OTel Operator and to aggregate any other issues or PRs created during implementation.