Skip to content

[cmd/opampsupervisor] Allow configuring Collector process execution #24324

Closed
@evan-bradley

Description

@evan-bradley

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

Metadata

Metadata

Assignees

Labels

cmd/opampsupervisorenhancementNew feature or requestnever staleIssues marked with this label will be never staled and automatically removed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions