You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, it should take in a config struct (this config can be read from disk in main). This makes it easier to unit test and easier to use as a library, since the config would not need to be written to disk in order to run the supervisor.
The text was updated successfully, but these errors were encountered:
Component(s)
cmd/opampsupervisor
Describe the issue you're reporting
The supervisor currently takes in a path to a config file.
opentelemetry-collector-contrib/cmd/opampsupervisor/supervisor/supervisor.go
Line 141 in 20d6bae
Instead, it should take in a config struct (this config can be read from disk in main). This makes it easier to unit test and easier to use as a library, since the config would not need to be written to disk in order to run the supervisor.
The text was updated successfully, but these errors were encountered: