Integrations
Sentry
Trace slow queries and capture SQL errors with Sentry.
The Sentry integration for @libsql/client
provides tracing, breadcrumbs, and error handling for SQL queries.
This is currently in technical preview. Join us in Discord to report any issues.
Install
Quickstart
Once you have a @libsql/client
instance, you can integrate it with Sentry like this:
Options
By default, everything is turned on. You can configure what you want by passing a third argument to the libsqlIntegration
function.
Option | Default | Description |
---|---|---|
tracing | true | Enable tracing for SQL queries. |
breadcrumbs | true | Enable breadcrumbs for SQL queries. |
errors | true | Enable error handling for SQL queries. |
Was this page helpful?