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

[chore] Consolidate event code in WEL receiver #35026

Merged
merged 8 commits into from
Sep 20, 2024

Conversation

djaglowski
Copy link
Member

This is a step towards #34720 which should have no user facing impact. It consolidates the event model by removing the notion of a "raw" event. The behavior of raw flag should remain the same because we still use different functions to build the output from the unified event.

@djaglowski djaglowski added the Run Windows Enable running windows test on a PR label Sep 5, 2024
djaglowski added a commit that referenced this pull request Sep 13, 2024
I noticed on #34720 and #35026 that execution of the test continued
beyond a failure of `require.EventuallyWithT`. Based on the description
alone, I would expect that using `assert` within
`require.EventuallyWithT` should cause execution to stop if the
assertion fails, but it appears this may not be the case. However, this
change apparently works as intended.
@djaglowski djaglowski marked this pull request as ready for review September 18, 2024 13:23
@djaglowski djaglowski requested review from a team and TylerHelmuth September 18, 2024 13:23
@djaglowski
Copy link
Member Author

@pjanotti this should be ready for review as a subset of #34720

@djaglowski djaglowski merged commit 576d322 into open-telemetry:main Sep 20, 2024
172 checks passed
@djaglowski djaglowski deleted the wel-unify-event branch September 20, 2024 18:48
@github-actions github-actions bot added this to the next release milestone Sep 20, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…y#35032)

I noticed on open-telemetry#34720 and open-telemetry#35026 that execution of the test continued
beyond a failure of `require.EventuallyWithT`. Based on the description
alone, I would expect that using `assert` within
`require.EventuallyWithT` should cause execution to stop if the
assertion fails, but it appears this may not be the case. However, this
change apparently works as intended.
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
This is a step towards open-telemetry#34720 which should have no user facing impact.
It consolidates the event model by removing the notion of a "raw" event.
The behavior of `raw` flag should remain the same because we still use
different functions to build the output from the unified event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/stanza receiver/windowseventlog Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants