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

🐛 Different custom fingerprint are reported with the same issueId #2076

Closed
yutaro-biz opened this issue Mar 15, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@yutaro-biz
Copy link

yutaro-biz commented Mar 15, 2023

Describe the bug
When using @datadog/browser-rum version 4.35.0 (latest at the time of writing), errors has different custom fingerprint are reported with the same issueId.

To Reproduce
Steps to reproduce the behavior:

  1. we set up rum this way
  if (e instanceof HttpErrorResponse) {
      const error = new Error(e.message);
      datadogRum.addError(error, {
        'error.fingerprint': `${e.url}:${e.status}`,
      });
  }
  1. When looking at the datadog rum application, errors with different fingerprint(for example https://4csogxtspjtgxxx8gkjuhygpvlj2.requestly.me/400:400 and https://requestly.dev/api/mockv2/o/400?rq_uid=4csogXTSPjTGXXx8gkjuHYgpVlj2:400) are reported as same issue.

Expected behavior
According to following docs, we can report errors with different issueId each custom fingerprint.
https://docs.datadoghq.com/real_user_monitoring/error_tracking/custom_grouping

@yutaro-biz yutaro-biz added the bug Something isn't working label Mar 15, 2023
@bcaudan
Copy link
Contributor

bcaudan commented Mar 15, 2023

Hi @yutaro-biz,

Thanks for raising this!
There is indeed an issue on our side with this feature, we will removed this documentation for now (DataDog/documentation#17297) and we will work on a fix.

We will keep you posted here when we will have something available.

@bcaudan
Copy link
Contributor

bcaudan commented May 3, 2023

Hi @yutaro-biz,

We have released a fix with the version 4.42.0, the doc has not yet been updated but you can have a look at the linked PR to see how to provide the custom fingerprint.

@bcaudan bcaudan closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants