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
fix: correctly handle viper env var overrides for slice fields (#143)
### Description
OB-40043: Correctly handle viper env var overrides for slice fields. We
need this to specify host log overrides via env vars. This example works
now but errored prior to this change:
```
$ env HOST_MONITORING::LOGS::INCLUDE='/test/file.txt,/file.log' ./observe-agent config
# ======== computed agent config
cloud_resource_detectors:
- ec2
self_monitoring:
enabled: true
host_monitoring:
enabled: true
logs:
enabled: true
include:
- /test/file.txt
- /file.log
metrics:
host:
enabled: true
```
### Checklist
- [ ] Created tests which fail without the change (if possible)
- [ ] Extended the README / documentation, if necessary
0 commit comments