Skip to content

feat(client-reports): Record event_processor client reports #1281

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

Merged
merged 9 commits into from
Dec 17, 2021

Conversation

sl0thentr0py
Copy link
Member

Record client reports of event_processor type when dropped.

Closes #1210
and https://getsentry.atlassian.net/browse/WEB-341

sl0thentr0py and others added 5 commits December 16, 2021 15:45
WIP

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
@@ -81,6 +81,9 @@ def init_sdk(timeout_warning=False, **extra_init_args):
transport=TestTransport,
integrations=[GcpIntegration(timeout_warning=timeout_warning)],
shutdown_timeout=10,
# excepthook -> dedupe -> event_processor client report gets added
# which we don't really care about for these tests
send_client_reports=False,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just turned client reports off for the GCP tests since the actual problem is unrelated and caused by the same exception being caught twice and dropped by the DedupeIntegration event processor.

I added a separate test for the case below.

@sl0thentr0py sl0thentr0py requested review from a team, rhcarvalho and lobsterkatie and removed request for a team December 16, 2021 22:30
sl0thentr0py and others added 2 commits December 16, 2021 23:39

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
@sl0thentr0py sl0thentr0py changed the title Record event_processor client reports feat(client-reports): Record event_processor client reports Dec 16, 2021

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
@sl0thentr0py sl0thentr0py merged commit c64a1a4 into master Dec 17, 2021
@sl0thentr0py sl0thentr0py deleted the event-processors-client-reports branch December 17, 2021 11:36
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

Successfully merging this pull request may close these issues.

[client-reports] Include event processors and before send
2 participants