Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

[Error Count Discrepancy] Address discrepancy between error count and number of errors observed in Replay Details #251

Closed
jas-kas opened this issue Oct 20, 2022 · 5 comments

Comments

@jas-kas
Copy link
Member

jas-kas commented Oct 20, 2022

Problem:

Today, there are many instances where the error count seen on the Replay Index as well as in the counter on the Replay Details (top-right bubble) is not reflective of the number of errors seen in the actual Replay and reflected in our breadcrumbs/console/issues list. This has been reported by our alpha partners.

This can result in a user seeing a Replay that has 2 errors on the Index page but once they click in, the Replay actually has no errors.

We know this can happen as a result of... Server-side inbound filters.

This may also be related to... Filtering error events on the browser SDK - docs - It is still under investigation if this is the case with the SDK team.

We need a solution to address this, as today it leads to customers not trusting our data and confusion.

Solution:

TBD.

cc @billyvg @ryan953

@jas-kas jas-kas changed the title Handle discrepancy between error count and number of errors observed in Replay Details [Discussion] Handle discrepancy between error count and number of errors observed in Replay Details Oct 20, 2022
@billyvg
Copy link
Member

billyvg commented Oct 20, 2022

Re: the filtering on browser SDK....

In the replays SDK we keep an aggregate count of errors by sending a list of error ids to the backend. We use addGlobalEventProcessor to listen for error events and 1) tag the replayId to the event and 2) grab the error id to later send to replays backend. It's possible that some of these errors could get filtered by the browser SDK (e.g. beforeSend? or a default integration?) and would make our counts inaccurate.

@jas-kas jas-kas changed the title [Discussion] Handle discrepancy between error count and number of errors observed in Replay Details Address discrepancy between error count and number of errors observed in Replay Details Nov 23, 2022
@jas-kas jas-kas changed the title Address discrepancy between error count and number of errors observed in Replay Details [Error Count Discrepancy] Address discrepancy between error count and number of errors observed in Replay Details Nov 23, 2022
@mydea
Copy link
Member

mydea commented Nov 24, 2022

See: getsentry/sentry-javascript#6285

@jas-kas
Copy link
Member Author

jas-kas commented Dec 1, 2022

[Messaging around this to the user explaining that there may be a discrepancy]

@mydea
Copy link
Member

mydea commented Dec 2, 2022

Closing this in favor of getsentry/sentry-javascript#6285! I'll add a note to the readme as well.

@mydea mydea closed this as completed Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants