Documentation for @sentry/tracing
with Node.js is not clear. https://docs.sentry.io/platforms/node/
Do I just have to install @sentry/tracing
and import it?
import * as Sentry from "@sentry/node";
import * as Tracing from "@sentry/tracing"; // <-- Tracing is decleared but its value is never read
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
});
I’m using Fastify and TypeScript by the way.
Could you please guide me a little bit?