Skip to content

Use the SDK only with error reporting mode #19338

@vpmedia

Description

@vpmedia

Problem Statement

I would like to have the ability to use the Sentry SDK with only error reporting mode:

  • No tracing
  • No metrics
  • No logs
  • No OpenTelemetry dependency

Rationale: I already have a working OpenTelemetry setup which includes these functionalities.

As you state in the following documentation using multiple APM tools is discouraged and our company is opting to use OTEL and not Sentry for tracing/metrics/logs, but we are really happy to use it for error tracking and reporting:
https://sentry.zendesk.com/hc/en-us/articles/23961784367387-Is-it-okay-to-run-multiple-APM-tools-in-parallel

Solution Brainstorm

Add an exported initialize (e.g. initErrorReporting) method which only bootstraps the error reporting.

Additional Context

The newly added node-core/light pkg somehow covers this but still includes logs and metrics which I don't want to use at all.

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions