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
You can provide one or more configurations using the --config option
but don't expand on how the multiple configurations will be merged, e.g. how are duplicate maps in a key handled, are existing values stomped or are new values ignored?
The docs (https://opentelemetry.io/docs/collector/configuration/) mention:
but don't expand on how the multiple configurations will be merged, e.g. how are duplicate maps in a key handled, are existing values stomped or are new values ignored?
Glancing at the code:
NewResolver
opentelemetry-collector/otelcol/configprovider.go
Line 66 in fa49026
Resolve
func on that type callsMerge
on theConf
objectopentelemetry-collector/confmap/resolver.go
Line 173 in fa49026
Merge
on that typeopentelemetry-collector/confmap/confmap.go
Line 163 in fa49026
Maybe it would be sufficient to link to https://pkg.go.dev/github.com/knadh/koanf/v2#readme-merge-behavior
The text was updated successfully, but these errors were encountered: