Knex
Adds instrumentation for Knex.
This integration only works in the Node.js and Bun runtimes. Requires SDK version 8.38.0
or higher.
Import name: Sentry.knexIntegration
The knexIntegration
adds instrumentation for the knex
library to capture spans using @opentelemetry/instrumentation-knex
.
Copied
Sentry.init({
integrations: [new Sentry.knexIntegration()],
});
dataloader
:>=0.10.0 <4
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").