Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(ConfigProvider): Modify config merge to do replace instead of update for Specific tags #1604
base: main
Are you sure you want to change the base?
feat(ConfigProvider): Modify config merge to do replace instead of update for Specific tags #1604
Changes from 39 commits
04f6cb0
28013f4
64d9df3
5be51e6
bf94cab
f47b831
6d7f86e
3ffa983
4b39061
0a5c12d
f95b34d
a136bff
44125f6
3ea8f1b
d80a304
e0912f9
6f4ac0b
c49cc08
083e81e
6a6cefe
98ba5ac
055013f
dccff3b
3e177fc
850f7e7
e1079be
8d96491
ae4bcc8
438ce8a
0b88b1e
a3e3261
c3aa5ec
1f4d959
4f3acc5
3bea173
4a81307
89df819
15c02ee
47883a8
3e13dd3
3f931b9
34103e8
dfe9f87
844457a
d0819b4
46c3e56
e01d6ad
473f940
3cfeed2
c2f28b6
6bc6400
4f327e4
168c20e
25ec054
595308d
d10bb30
a041740
9faba5c
388c38a
ac2d872
975f321
b238169
be003c7
3c1007b
b920ccb
58ec38e
d9014a7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why isn't "zone": "eu" the expected field here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have added just some random sample test values. Do you think we should have specific values here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, I don't understand the assertion here. My questions are
"cluster": "cluster-1"
from the src/original conf? and why isn'tcollector_fields
frommergeConf
in the expected result?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagan2221 would appreciate clarification here, maybe I'm missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagan2221 could we clarify this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed with Raj, the expected config should have
collector_fields
🤔 i remember there was a sumo documentation showing the merge functionality, think it was this:https://help.sumologic.com/docs/send-data/opentelemetry-collector/data-source-configurations/overview/#configuration-structure:~:text=Note%20that%20the%20list%20has%20been%20overridden%20and%20maps%20have%20been%20merged.