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
I'd like to utilize the go.opentelemetry.io/collector/confmap Resolver along with the go.opentelemetry.io/collector/confmap/provider/envprovider and go.opentelemetry.io/collector/confmap/provider/fileprovider Providers to allow for the expansion of environment variables when the supervisor config is read in from file.
Describe alternatives you've considered
No response
Additional context
I'm happy to implement this enhancement if accepted.
The text was updated successfully, but these errors were encountered:
mrsillydog
changed the title
Support environment variable expansion in
[cmd/opampsupervisor] Support environment variable expansion in
Nov 7, 2024
mrsillydog
changed the title
[cmd/opampsupervisor] Support environment variable expansion in
[cmd/opampsupervisor] Support environment variable expansion in supervisor config
Nov 7, 2024
Component(s)
cmd/opampsupervisor
Is your feature request related to a problem? Please describe.
Currently, environment variable expansion is not supported in the supervisor configuration. For example, given the following configuration:
and the following environment variable set:
the final configuration does not expand the referenced environment variable to result in a final configuration of:
Describe the solution you'd like
I'd like to utilize the
go.opentelemetry.io/collector/confmap
Resolver along with thego.opentelemetry.io/collector/confmap/provider/envprovider
andgo.opentelemetry.io/collector/confmap/provider/fileprovider
Providers to allow for the expansion of environment variables when the supervisor config is read in from file.Describe alternatives you've considered
No response
Additional context
I'm happy to implement this enhancement if accepted.
The text was updated successfully, but these errors were encountered: