Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearer docs on config merging #11865

Open
matthewhughes-uw opened this issue Dec 12, 2024 · 0 comments
Open

Clearer docs on config merging #11865

matthewhughes-uw opened this issue Dec 12, 2024 · 0 comments

Comments

@matthewhughes-uw
Copy link

The docs (https://opentelemetry.io/docs/collector/configuration/) mention:

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?

Glancing at the code:

Maybe it would be sufficient to link to https://pkg.go.dev/github.com/knadh/koanf/v2#readme-merge-behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant