opencensus-service icon indicating copy to clipboard operation
opencensus-service copied to clipboard

Support environment variables when configuring exporters

Open c2nes opened this issue 6 years ago • 0 comments

viper.AutomaticEnv is enabled and environment variable overrides works for configuration sections outside of exporters. However, a Viper limitation (https://github.com/spf13/viper/issues/507) prevents this from working as expected in "sub" viper instances.

This work around allows environment variables to be used with exporter configurations as well.

c2nes avatar Aug 28 '19 17:08 c2nes