sentry-javascript
sentry-javascript copied to clipboard
[@sentry/node] Not working on [email protected]
Is there an existing issue for this?
- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [X] I have reviewed the documentation https://docs.sentry.io/
- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
7.108.0
Framework Version
Node v18.18.0
Link to Sentry event
No response
SDK Setup
import Sentry from "@sentry/node";
import { prisma } from "./db.js";
Sentry.init({
dsn: "https://[email protected]/xxx",
release: "1.0",
tracesSampleRate: 1.0,
integrations: [new Sentry.Integrations.Prisma({ client: prisma })],
debug: true,
});
console.log("Sentry initialized");
Steps to Reproduce
I'm doing some queries on the prisma client having the sentry client initialized.
Expected Result
I never see anything in the Sentry Queries page.
Actual Result
I expect to see something in the Sentry Queries page.
I don't know where the issue lies. I can't find any errors or so when initializing.