Skip to content

@sentry/tracing README showing usage #8160

@andyrichardson

Description

@andyrichardson

Problem Statement

Hey there!

Thanks for the awesome work - I had a quick suggestion regarding this readme.

The README contains an example of importing integrations from @sentry/tracing, but the TS definitions communicate that this is now deprecated.

import { Integrations } from "@sentry/tracing";

 Sentry.init({
   integrations: [
     new Integrations.Express(),
   ]
 });

Solution Brainstorm

Would be great if the necessity of @sentry/tracing could be communicated in the README. For example, if tracing is enabled by default and the @sentry/tracing module is no longer needed for node environments, something like this would be great

Node

@sentry/node >= 0.0.0 now includes integrations, and enables tracing by default. There is no longer a need to use @sentry/tracing for node environments.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions