Skip to content

disable telemetry #16887

@maxirozay

Description

@maxirozay

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

9.36.0

Framework Version

Nuxt 3.16.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

nuxt.config.js

...
sentry: {
    telemetry: false,
    options: {
      telemetry: false,
    },
    vitePluginOptions: {
      telemetry: false,
    },
    rollupPluginOptions: {
      telemetry: false,
    },
    sourceMapsUploadOptions: {
      org: '...',
      project: '...',
    },
  },
  ...

sentry.client.config.js and sentry.server.config.js

Sentry.init({
  dsn: "...",
  tracesSampleRate: 0.5,
  debug: false,
  telemetry: false,
});

Steps to Reproduce

Build a nuxt project with the module @sentry/nuxt/module.

Expected Result

No hanging and no telemetry log.

Actual Result

It will hang a bit with the log [sentry-rollup-plugin] Info: Sending telemetry data on issues and performance to Sentry. To disable telemetry, set `options.telemetry` to `false`..

I also have the log error: Auth token is required for this request. Please run `sentry-cli login` and try again! but I don't want to install the cli, to login or to do anything during the build. I just want sentry to send errors in production.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions