Closed
Description
Component(s)
cmd/opampsupervisor
Is your feature request related to a problem? Please describe.
When a user normally runs a Collector process, they can pass arguments, environment variables, and multiple configuration files. The Supervisor needs to support passing these.
Describe the solution you'd like
Implement the following config, as defined in the Supervisor design document.
collector:
# Extra command line flags to pass to the Collector executable.
args:
# Extra environment variables to set when executing the Collector.
env:
# Path to optional local Collector config files to be merged with the
# config provided by the OpAMP server.
config_file: /etc/otelcol/config.yaml
For the config_file
key, determine if multiple config files should be passed and update the design document if they should.
Describe alternatives you've considered
No response
Additional context
No response