Skip to content

feat(outcomes): Add buffer_overflow discard reason#6792

Merged
AbhiPrasad merged 6 commits intomasterfrom
abhi-add-buffer-overflow-discard-reason
Jan 21, 2025
Merged

feat(outcomes): Add buffer_overflow discard reason#6792
AbhiPrasad merged 6 commits intomasterfrom
abhi-add-buffer-overflow-discard-reason

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Contributor

@AbhiPrasad AbhiPrasad commented Jan 20, 2025

ref getsentry/team-sdks#116

This PR implements a new client discard reason for buffer_overflow. This will be used to track when the internal breadcrumbs buffer overflows for the new logs product that we are working on. This is documented in develop here: getsentry/sentry-docs#12395

I also went ahead and added code comments that describes what all the different client discard reasons mean. This is done in commit b3dcd67, while the actual change to add the buffer_overflow discard reason was added in dd25dde.

Note: The reason we have buffer_overflow as a separate item to queue_overflow is that in the future when we send log items in envelopes we'll increment queue_overflow for the transport queue. We want to differentiate between the transport queue and the internal buffer explicitly.

@AbhiPrasad AbhiPrasad requested a review from k-fish January 20, 2025 14:36
@AbhiPrasad AbhiPrasad self-assigned this Jan 20, 2025
@AbhiPrasad AbhiPrasad requested a review from a team as a code owner January 20, 2025 14:36
@AbhiPrasad AbhiPrasad merged commit e22c22a into master Jan 21, 2025
@AbhiPrasad AbhiPrasad deleted the abhi-add-buffer-overflow-discard-reason branch January 21, 2025 17:52
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.

2 participants