-
Notifications
You must be signed in to change notification settings - Fork 484
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
Keep only two routers, one for docker and another for crio/containerd #828
Conversation
@VihasMakwana thanks for your contribution .Please follow our guide in order for the ci to pass. |
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.
@VihasMakwana can please share how you tested this change to be equivalent to the current solution of using 2 routers? @djaglowski can you share your thoughts on the changes to the filelogreceiver configuration?
So, for this, I have tested it the following way:
|
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 agree that the recombine operators for crio vs containerd are redundant and can be consolidated, but I do not understand the other changes.
At a glance the regex changes do not look correct to me. Can you give some specific examples that demonstrate how "^[^ Z]+ "
and "^[^ Z]+Z"
are correctly combined into "^[^ ]+ "
?
charts/opentelemetry-collector/examples/daemonset-collector-logs/rendered/configmap-agent.yaml
Show resolved
Hide resolved
@djaglowski please check signalfx/splunk-otel-collector-chart#644. My bad, forgot to mention this in PR description ;( |
|
Also, |
Thanks for explaining @VihasMakwana. I think your explanation of the regexes makes sense but I haven't tested them so I'd appreciate others to look at this as well. Personally I find it confusing that there is a bug fix in the same PR as non-functional changes. Both changes would be simpler to understand if presented in isolation. Perhaps you'd consider splitting the PR. Finally, if these changes are accepted here, would you please submitting equivalent PRs to the contrib example here? |
Makes sense. |
and yes, will submit PRs to contrib. |
@VihasMakwana have users of signalfx/splunk-otel-collector-chart gotten the chance to use these changes you've applied to that chart? This is a unique situation where we have the ability to confirm something in the field before merging it and I'd like to take advantage of that. |
Hmm, I have an open PR for the similar thing in splunk repo, maybe we can wait until that one gets accepted and tested? |
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.
This looks fine to me
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
^^ |
LGTM. Can you fix the lint issue? |
@atoulme done |
@VihasMakwana have you had a chance to release this in the Splunk helm chart and confirm it is equivalent? |
@TylerHelmuth No, not yet. If you or anyone else can test this out on your end, it would be of great help ;). |
@atoulme can you re-review this one? |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
See #819.
We can use two routers as, crio and containerd are similar
The recombine operator is same for both crio and containerd, so we can use just one.
This also fixes an probable issue signalfx/splunk-otel-collector-chart#644