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

feat(transport): Client Report Support #1181

Merged
merged 29 commits into from Sep 15, 2021
Merged

feat(transport): Client Report Support #1181

merged 29 commits into from Sep 15, 2021

Conversation

mitsuhiko
Copy link
Member

@mitsuhiko mitsuhiko commented Sep 2, 2021

This adds support for client reports to the python SDK. This will cause the SDK to send a report once every 30 seconds or once a minute. After 30 seconds it will attempt to attach the report to a scheduled envelope if there is one, after 60 seconds it will send it as a separate envelope. Attempts of sending are only made as a byproduct of attempted event / envelope sending or an explicit flush.

The feature can be turned off via the send_client_reports option which is on by default.

Refs: getsentry/relay#1074

sentry_sdk/client.py Outdated Show resolved Hide resolved
@mitsuhiko mitsuhiko marked this pull request as ready for review Sep 6, 2021
@mitsuhiko mitsuhiko requested a review from kamilogorek Sep 8, 2021
@mitsuhiko mitsuhiko changed the title feat(transport): Experimental sdk outcomes support feat(transport): Client Report Support Sep 8, 2021
sentry_sdk/transport.py Outdated Show resolved Hide resolved
sentry_sdk/transport.py Show resolved Hide resolved
@mitsuhiko mitsuhiko requested a review from kamilogorek Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants