Automatic Instrumentation
Learn what transactions are captured after tracing is enabled.
When performance is enabled through tracesSampleRate
, enableTracing
or a tracesSampler
function, the Sentry SDK will automatically capture spans for the following:
- Incoming requests
- Outgoing HTTP requests
- Database queries made with the following packages:
mysql
mysql2
pg
graphql
(including Apollo Server)mongo
mongoose
ioredis
The following packages are not automatically instrumented and need to be set up manually:
prisma
(see Prisma Integration)
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").