Skip to content

feat(replays): produce accepted outcome - #40055

Merged
JoshFerge merged 4 commits into
masterfrom
jferg/add-outcome-recordings-consumer
Oct 19, 2022
Merged

JoshFerge merged 4 commits into
masterfrom
jferg/add-outcome-recordings-consumer

Conversation

@JoshFerge

@JoshFerge JoshFerge commented Oct 14, 2022 •

Copy link
Copy Markdown
Contributor

with new fields added to recordings in getsentry/relay#1528, we can produce an outcome from our recordings consumer. this simply does it at the end of the _store method. chose to do it there as creating a separate produce step for this is quite a bit of code, and we do a similar thing here. we can follow up if we notice outcomes not being produced correctly / dropped, as we can count our replays elsewhere and compare.

once we have load testing we can also compare outcomes on / off to ensure that this doesn't degrade performance.

closes https://github.com/getsentry/replay-backend/issues/116

@JoshFerge
JoshFerge requested a review from a team October 14, 2022 19:09
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 14, 2022
@JoshFerge

Copy link
Copy Markdown
Contributor Author

will merge once getsentry/relay#1528 goes out

@cmanallen

Copy link
Copy Markdown
Member

I would not expect this to have any impact on our throughput. This happens in a thread and it looks like its mostly I/O. Once the task changes go out it will have an impact but only because the latency of the _store method will be much smaller. I'm not particularly worried but we should load test it if we think its going to be burdensome.

@JoshFerge

Copy link
Copy Markdown
Contributor Author

I would not expect this to have any impact on our throughput. This happens in a thread and it looks like its mostly I/O. Once the task changes go out it will have an impact but only because the latency of the _store method will be much smaller. I'm not particularly worried but we should load test it if we think its going to be burdensome.

yeah I'm not super worried either. sounds good.

@JoshFerge
JoshFerge merged commit dc69a2e into master Oct 19, 2022
@JoshFerge
JoshFerge deleted the jferg/add-outcome-recordings-consumer branch October 19, 2022 16:46
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2022

This branch was successfully deployed

2 active deployments
Preview – sentry — 456c7a4e Deployed Oct 17, 2022 by vercel[bot]
Preview – storybook — 456c7a4e Deployed Oct 17, 2022 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants