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

Add sentry processing #105

Merged
merged 3 commits into from
Dec 13, 2024
Merged

Add sentry processing #105

merged 3 commits into from
Dec 13, 2024

Conversation

n0str
Copy link
Member

@n0str n0str commented Nov 29, 2024

Message structure

A Sentry envelope is typically a structured format consisting of multiple JSON parts concatenated together. It starts with a header, followed by one or more items separated by newlines, with each item having its own header and body.

Structure of a Sentry Envelope

  1. Envelope Header (JSON): Describes the envelope metadata (e.g., dsn, event_id).
  2. Item Header (JSON): Precedes each item, describing its type (e.g., event, transaction) and optional metadata like length.
  3. Item Payload (Optional JSON): The actual data of the item.

Example Sentry Envelope:

{"type":"event", "length":30}
{"key":"value"}
{"type":"attachment", "length":14}
"sample-attachment"

@n0str n0str marked this pull request as ready for review December 13, 2024 18:25
@n0str n0str requested a review from khaydarov as a code owner December 13, 2024 18:25
@n0str n0str merged commit b487670 into master Dec 13, 2024
3 checks passed
@n0str n0str deleted the sentry-support branch December 13, 2024 18:26
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.

1 participant