It would be great to have the capability to configure resource detectors via the configuration file.
For example, the Collector needs to be able to specify that the environment variable resource detector should be used to address open-telemetry/opentelemetry-collector#10909