-
Notifications
You must be signed in to change notification settings - Fork 91
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(replays): add replay events ItemType #1239
Conversation
e650814
to
1b36c57
Compare
Let's please hold back on this until we've determined whether we're gonna send transaction events, a new event type, or a new payload type alltogether. |
807d067
to
3d0d2ea
Compare
from sentry_sdk.envelope import Envelope | ||
|
||
|
||
def generate_replay_event(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add a test for sending a replay event and replay recording in the same payload
73845e0
to
3e3882c
Compare
* master: ref(metrics): Stop logging relative bucket size (#1302) fix(metrics): Rename misnamed aggregator option (#1298) fix(server): Avoid a panic in the Sentry middleware (#1301) build: Update dependencies with known vulnerabilities (#1294) fix(metrics): Stop logging statsd metric per project key (#1295) feat(metrics): Limits on bucketing cost in aggregator [INGEST-1132] (#1287) fix(metrics): Track memory footprint more accurately (#1288) build(deps): Bump dependencies (#1293) feat(aws): Add relay-aws-extension crate which implements AWS extension as an actor (#1277) fix(meta): Update codeowners for the release actions (#1286) feat(metrics): Track memory footprint of metrics buckets (#1284)
relay-common/src/constants.rs
Outdated
@@ -109,6 +109,8 @@ pub enum DataCategory { | |||
Session = 5, | |||
/// A profile | |||
Profile = 6, | |||
/// Replay Events | |||
ReplayEvent = 7, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: When moving this live, please ask someone in @getsentry/owners-ingest to issue a new library release of relay so we can add this new data category to Sentry and Snuba.
This will require to regenerate the CABI headers once the name of the enum variant and value are final (see this PR):
- Run
cargo install cbindgen
on your machine - Go to the
relay-cabi
subfolder - Run
make header
- Commit the result into this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do 👍🏼
ReplayEvent
See spec here for more information:
https://www.notion.so/sentry/Session-Replay-V1-alpha-Ingest-Backend-ae068d1e1d514221b6c3ea2233f360f4
By submitting this pull request, I confirm that Sentry can use, modify, copy, and redistribute this contribution, under Sentry's choice of terms.