question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReportingObserver events get logged while the integration is not enabled

See original GitHub issue

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/vue

SDK Version

6.19.7

Framework Version

Nuxt.js 2.15.8 / Vue 2.6.14

Link to Sentry event

https://sentry.io/organizations/nothing-inc-02/issues/3398420478/?project=5570289&query=is%3Aunresolved+timesSeen%3A>10&sort=date&statsPeriod=14d

Steps to Reproduce

I have a Nuxt.js frontend which uses @nuxtjs/sentry, @sentry/tracing and @sentry/vue.

Sentry is configured in the nuxt.config.ts file:

  sentry: {
    dsn: 'https://[masked].ingest.sentry.io/[masked]',
    config: {
      release: '[app-name]@' + pkg.version
    }
  }

Events get properly logged, but since a few days ago we are getting a large amount of the following event: ReportingObserver [deprecation]: Deprecation messages are stored in the devtools-frontend repo at front_end/models/issues_manager/DeprecationIssue.ts.. It is our problem to deal with the event as such. However, as I looked into it, I found out that ReportingObserver events are not supposed to be tracked by default and are only opt-in with the ReportingObserver pluggable integration.

It’s using @nuxtjs/sentry v5.1.7 and there’s now v6.0.0, but it doesn’t change the dependencies to the SDK version, which is still v6. I cannot use v7 because @nuxtjs/sentry doesn’t support it yet (nuxt-community/sentry-module#433).

Apologies for still ticking the “I am using the latest SDK release”. Please just let me know if it’s a known issue fixed in the latest release (I couldn’t find anything about that). I would have rather asked a question than report a bug, but in the issue creation process, the link to “Ask a question” brings back to the issues list 😕

Expected Result

To not see any ReportingObserver events in Sentry when the pluggable integration is not enabled.

Actual Result

ReportingObserver events get logged in Sentry. (filled up my quota in 5 days)

Screenshot 2022-09-15 at 16 57 04 copy

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
Sweater-Baroncommented, Oct 11, 2022

To anyone who made it to this page: You actually probably don’t want to disable the ReportingObserver integration. Leaving it enabled gives you insight into some browser/device-specific issues on your users’ devices that you otherwise would not be able to observe.

The specific error message that the OP in this issue is complaining about seems to be a bug in either Sentry or Chromium and not supposed to be logged. I have filed an issue about that here: https://github.com/getsentry/sentry-javascript/issues/5932

1reaction
AbhiPrasadcommented, Sep 15, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Pluggable Integrations for Svelte - Sentry Documentation
This integration hooks into the ReportingObserver API and sends captured events through to Sentry. It can be configured to handle only specific issue...
Read more >
ReportingObserver - Web APIs - MDN Web Docs
Returns the current list of reports contained in the observer's report queue, and empties the queue. Events. This interface has no events that ......
Read more >
Pluggable Integrations for JavaScript - Sentry Documentation
This integration hooks into the ReportingObserver API and sends captured events through to Sentry. It can be configured to handle only specific issue...
Read more >
JavaScript console.log causes error: "Synchronous ...
the error is because the OP is using somewhere an synchronous XMLHttpRequests, I don't think due jquery since doesn't seems that he use...
Read more >
JavaScript - Docs - Sentry Documentation
While making source maps available to Sentry from your servers is the most natural integration, it is not always advisable: Sentry may not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found