-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmd/opampsupervisor] Allow configuring Collector process execution #24324
Comments
I started looking into this. |
Can we get rid of the |
I see your argument there, but a Collector built with only upstream components actually only supports a few different flags, so it would be nice to allow configuring it entirely through YAML if at all possible. What if we made the option |
There is one other flag I haven't personally seen many use
Should we limit the config sources to the supported sources in core distribution? |
For reference, the way I have made use of the I believe that my example would still be required in an OpAMP managed Agent collector, but I would need to read the OpAMP spec again in order to confirm if OpAMP would potentially replace the use of |
You will still be able to do that using the |
Good point. The lack of syntax highlight in the code block made me skip that
I actually don't know. My first intuition is to not include it as a top-level key. And only add it later if it turns out that it would be useful to have as a top-level key once people start launching the collector process with the supervisor and we have gained some field experience. |
If this issue is free, I would like to have a look at it |
@odubajDT It's yours. @srikanthccv would still appreciate your review if you have time. |
Just now seeing this. I think we can just make it an arbitrary set of keys, we don't know what the Collector we're running will support and it will tell us if we pass an unsupported scheme. |
Thanks for picking it up @odubajDT |
The PR should be ready for review |
It would be great you add a test /docs/example how to use this with feature flags, especially for profiling 😃 |
Added some more info into the docs, please have a look |
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.
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
The text was updated successfully, but these errors were encountered: