Skip to content

ReportingObserver events get logged while the integration is not enabled #5751

@davidsandoz

Description

@davidsandoz

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%3E10&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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions