From c9fe37c980d309089f9fd7870ecfc4ca5f927c28 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 17 Nov 2026 18:20:33 +0000
Subject: [PATCH 1/5] docs(javascript): Add ClickHouse integration page
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Jan Peer Stöcklmair <10677263+JPeer264@users.noreply.github.com>
---
.../configuration/integrations/clickhouse.mdx | 91 +++++++++++++++++++
1 file changed, 91 insertions(+)
create mode 100644 docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
diff --git a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
new file mode 100644
index 0000000000000..2b58b789c5b62
--- /dev/null
+++ b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
@@ -0,0 +1,91 @@
+---
+title: ClickHouse
+description: "Adds instrumentation for the ClickHouse Node.js client. (default)"
+supportedCategories:
+ - server
+ - serverless
+notSupported:
+ - javascript.cloudflare
+---
+
+
+
+_Import name: `Sentry.clickhouseIntegration`_
+
+This integration is enabled by default when tracing is enabled. To customize it, see [Modifying Default Integrations](./../#modifying-default-integrations).
+
+The `clickhouseIntegration` adds instrumentation for [`@clickhouse/client`](https://www.npmjs.com/package/@clickhouse/client), the official ClickHouse client for Node.js. It creates a `db` span for each statement the client sends, so slow or failing ClickHouse queries show up in your traces.
+
+```javascript
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ tracesSampleRate: 1.0,
+ integrations: [Sentry.clickhouseIntegration()],
+});
+```
+
+
+
+Run ClickHouse calls in the Node.js runtime. This automatic instrumentation isn't available in the Edge runtime.
+
+
+
+
+
+On Deno, preload Sentry's import hook so the ClickHouse client can be instrumented:
+
+```bash
+deno run --allow-net --allow-env --allow-read --allow-sys --allow-write --preload=npm:@sentry/deno/import app.ts
+```
+
+
+
+
+
+On Bun, automatic instrumentation requires a build with `sentryBunPlugin()` and `@clickhouse/client` included in the bundle:
+
+```typescript {filename:build.ts}
+import { sentryBunPlugin } from "@sentry/bun/plugin";
+
+await Bun.build({
+ entrypoints: ["./src/index.ts"],
+ outdir: "./dist",
+ target: "bun",
+ plugins: [sentryBunPlugin()],
+});
+```
+
+
+
+## Supported Operations
+
+The integration traces these `ClickHouseClient` methods:
+
+- `query()`
+- `command()`
+- `exec()`
+- `insert()`
+
+`ping()` and `close()` don't send a statement, so they don't create spans. An `insert()` with an empty `values` array doesn't send a request and doesn't create a span either.
+
+Spans are only created inside an active span, such as a request handler or a span you start with `Sentry.startSpan()`.
+
+## Spans
+
+Each span is named after the operation and the table it targets, for example `SELECT events` or `INSERT events`. Span attributes follow Sentry's `db.*` conventions, with `db.system.name` set to `clickhouse`. The spans also record the database, the user, and the server address and port of the client.
+
+Query text is sanitized before it's sent to Sentry:
+
+- String and number literals are replaced with `?`. For example, `SELECT name FROM events WHERE name = 'signup'` is recorded as `SELECT name FROM events WHERE name = ?`.
+- Comments are removed.
+- Inline data sent with a statement, such as the rows after `INSERT INTO events FORMAT CSV`, is removed.
+- ClickHouse query parameters, such as `{id:UInt32}`, are kept as written. Their values, passed in `query_params`, aren't recorded.
+- `insert()` spans record the target table, but not the inserted values or a query text.
+
+## Errors
+
+When a call fails, the span gets an error status. The integration doesn't capture the error, because the client still rejects to your code, which can handle it. Errors you don't handle are captured like any other unhandled error.
+
+## Supported Versions
+
+- `@clickhouse/client`: `>=1.1.0 <2`
From 7fec5d8a23ffb137d3bb532cdcb349ef001a21d9 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Fri, 20 Nov 2026 20:11:43 +0000
Subject: [PATCH 2/5] docs(javascript): Ship ClickHouse integration page in
11.17.0
---
.../javascript/common/configuration/integrations/clickhouse.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
index 2b58b789c5b62..a0c1a6f32951e 100644
--- a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
@@ -8,7 +8,7 @@ notSupported:
- javascript.cloudflare
---
-
+
_Import name: `Sentry.clickhouseIntegration`_
From b57c23133b69993456956184f1dbb0a59e93d0cf Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Sat, 21 Nov 2026 10:21:41 +0000
Subject: [PATCH 3/5] docs(javascript): Cover ClickHouse web client and
Cloudflare Workers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Jan Peer Stöcklmair <10677263+JPeer264@users.noreply.github.com>
---
.../configuration/integrations/clickhouse.mdx | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
index a0c1a6f32951e..eee6de51c11fe 100644
--- a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
@@ -1,11 +1,9 @@
---
title: ClickHouse
-description: "Adds instrumentation for the ClickHouse Node.js client. (default)"
+description: "Adds instrumentation for the ClickHouse JavaScript clients. (default)"
supportedCategories:
- server
- serverless
-notSupported:
- - javascript.cloudflare
---
@@ -14,7 +12,7 @@ _Import name: `Sentry.clickhouseIntegration`_
This integration is enabled by default when tracing is enabled. To customize it, see [Modifying Default Integrations](./../#modifying-default-integrations).
-The `clickhouseIntegration` adds instrumentation for [`@clickhouse/client`](https://www.npmjs.com/package/@clickhouse/client), the official ClickHouse client for Node.js. It creates a `db` span for each statement the client sends, so slow or failing ClickHouse queries show up in your traces.
+The `clickhouseIntegration` adds instrumentation for the official ClickHouse clients: [`@clickhouse/client`](https://www.npmjs.com/package/@clickhouse/client) for Node.js and [`@clickhouse/client-web`](https://www.npmjs.com/package/@clickhouse/client-web) for web runtimes such as Cloudflare Workers. It creates a `db` span for each statement the client sends, so slow or failing ClickHouse queries show up in your traces.
```javascript
Sentry.init({
@@ -30,6 +28,12 @@ Run ClickHouse calls in the Node.js runtime. This automatic instrumentation isn'
+
+
+On Cloudflare Workers, use `@clickhouse/client-web` and build your Worker with the Sentry Cloudflare Vite plugin. The plugin traces the client automatically, as long as `@clickhouse/client-web` is bundled and not marked as external. If you deploy with `wrangler` directly, ClickHouse calls aren't traced.
+
+
+
On Deno, preload Sentry's import hook so the ClickHouse client can be instrumented:
@@ -89,3 +93,4 @@ When a call fails, the span gets an error status. The integration doesn't captur
## Supported Versions
- `@clickhouse/client`: `>=1.1.0 <2`
+- `@clickhouse/client-web`: `>=1.1.0 <2`
From 960671da4aaf9851ddac18cb3a00196521f31b17 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Sun, 22 Nov 2026 14:48:58 +0000
Subject: [PATCH 4/5] docs(javascript): List clickhouseIntegration in platform
integration tables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Jan Peer Stöcklmair <10677263+JPeer264@users.noreply.github.com>
---
.../configuration/integrations/clickhouse.mdx | 21 ++++++++++---------
.../integrations/javascript.astro.mdx | 1 +
.../integrations/javascript.aws-lambda.mdx | 1 +
.../integrations/javascript.bun.mdx | 1 +
.../integrations/javascript.cloudflare.mdx | 3 +++
.../integrations/javascript.deno.mdx | 1 +
.../integrations/javascript.fastify.mdx | 1 +
.../integrations/javascript.gcp-functions.mdx | 1 +
.../integrations/javascript.hapi.mdx | 1 +
.../integrations/javascript.nestjs.mdx | 1 +
.../integrations/javascript.nextjs.mdx | 1 +
.../integrations/javascript.node.mdx | 1 +
.../integrations/javascript.nuxt.mdx | 1 +
.../integrations/javascript.remix.mdx | 1 +
.../integrations/javascript.solidstart.mdx | 1 +
.../integrations/javascript.sveltekit.mdx | 1 +
16 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
index eee6de51c11fe..6fb081c7fefb7 100644
--- a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
@@ -30,13 +30,13 @@ Run ClickHouse calls in the Node.js runtime. This automatic instrumentation isn'
-On Cloudflare Workers, use `@clickhouse/client-web` and build your Worker with the Sentry Cloudflare Vite plugin. The plugin traces the client automatically, as long as `@clickhouse/client-web` is bundled and not marked as external. If you deploy with `wrangler` directly, ClickHouse calls aren't traced.
+On Cloudflare Workers, use `@clickhouse/client-web` and build your Worker with the Sentry Cloudflare Vite plugin. The plugin traces the client automatically, as long as `@clickhouse/client-web` is bundled and not marked as external. If you deploy with `wrangler` directly, Sentry doesn't trace ClickHouse calls.
-On Deno, preload Sentry's import hook so the ClickHouse client can be instrumented:
+On Deno, preload Sentry's import hook so it can instrument the ClickHouse client:
```bash
deno run --allow-net --allow-env --allow-read --allow-sys --allow-write --preload=npm:@sentry/deno/import app.ts
@@ -72,23 +72,24 @@ The integration traces these `ClickHouseClient` methods:
`ping()` and `close()` don't send a statement, so they don't create spans. An `insert()` with an empty `values` array doesn't send a request and doesn't create a span either.
-Spans are only created inside an active span, such as a request handler or a span you start with `Sentry.startSpan()`.
+The integration only creates spans inside an active span, such as a request handler or a span you start with `Sentry.startSpan()`.
## Spans
Each span is named after the operation and the table it targets, for example `SELECT events` or `INSERT events`. Span attributes follow Sentry's `db.*` conventions, with `db.system.name` set to `clickhouse`. The spans also record the database, the user, and the server address and port of the client.
-Query text is sanitized before it's sent to Sentry:
+Before the integration sends query text to Sentry, it:
-- String and number literals are replaced with `?`. For example, `SELECT name FROM events WHERE name = 'signup'` is recorded as `SELECT name FROM events WHERE name = ?`.
-- Comments are removed.
-- Inline data sent with a statement, such as the rows after `INSERT INTO events FORMAT CSV`, is removed.
-- ClickHouse query parameters, such as `{id:UInt32}`, are kept as written. Their values, passed in `query_params`, aren't recorded.
-- `insert()` spans record the target table, but not the inserted values or a query text.
+- Replaces string and number literals with `?`. For example, `SELECT name FROM events WHERE name = 'signup'` becomes `SELECT name FROM events WHERE name = ?`.
+- Removes comments.
+- Removes inline data sent with a statement, such as the rows after `INSERT INTO events FORMAT CSV`.
+- Keeps ClickHouse query parameters, such as `{id:UInt32}`, as written, but doesn't record their values from `query_params`.
+
+`insert()` spans record the target table, but not the inserted values or a query text.
## Errors
-When a call fails, the span gets an error status. The integration doesn't capture the error, because the client still rejects to your code, which can handle it. Errors you don't handle are captured like any other unhandled error.
+When a call fails, the span gets an error status. The integration doesn't capture the error, because the client still rejects to your code, which can handle it. Sentry captures errors you don't handle like any other unhandled error.
## Supported Versions
diff --git a/platform-includes/configuration/integrations/javascript.astro.mdx b/platform-includes/configuration/integrations/javascript.astro.mdx
index 7466a54771c5d..b3640ef3a4eb2 100644
--- a/platform-includes/configuration/integrations/javascript.astro.mdx
+++ b/platform-includes/configuration/integrations/javascript.astro.mdx
@@ -95,6 +95,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`firebaseIntegration`](./firebase/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
diff --git a/platform-includes/configuration/integrations/javascript.aws-lambda.mdx b/platform-includes/configuration/integrations/javascript.aws-lambda.mdx
index 016c450488ece..8aa0846ea8bda 100644
--- a/platform-includes/configuration/integrations/javascript.aws-lambda.mdx
+++ b/platform-includes/configuration/integrations/javascript.aws-lambda.mdx
@@ -27,6 +27,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`amqplibIntegration`](./amqplib/) | | | ✓ | |
| [`anrIntegration`](./anr/) | | ✓ | | |
| [`captureConsoleIntegration`](./captureconsole/) | | | | ✓ |
diff --git a/platform-includes/configuration/integrations/javascript.bun.mdx b/platform-includes/configuration/integrations/javascript.bun.mdx
index f0fc5778ce959..7f74d3bf4f8ff 100644
--- a/platform-includes/configuration/integrations/javascript.bun.mdx
+++ b/platform-includes/configuration/integrations/javascript.bun.mdx
@@ -38,6 +38,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`firebaseIntegration`](./firebase/) | ✓ | | ✓ | |
| [`captureConsoleIntegration`](./captureconsole/) | | | | ✓ |
| [`dataloaderIntegration`](./dataloader/) | | | ✓ | |
diff --git a/platform-includes/configuration/integrations/javascript.cloudflare.mdx b/platform-includes/configuration/integrations/javascript.cloudflare.mdx
index 03a90fa3226b7..eadbc0caee7fe 100644
--- a/platform-includes/configuration/integrations/javascript.cloudflare.mdx
+++ b/platform-includes/configuration/integrations/javascript.cloudflare.mdx
@@ -13,9 +13,12 @@
| [`rewriteFramesIntegration`](./rewriteframes/) | | ✓ | | | |
| [`supabaseIntegration`](./supabase/) | | ✓ | ✓ | | |
| [`instrumentPostgresJsSql`](./postgresjs/) | | | ✓ | | |
+| [`clickhouseIntegration`](./clickhouse/) | | | ✓ | | |
| [`prismaIntegration`](./prisma/) | | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | | |
[Mistral AI](./mistral/) is automatically instrumented when built with the Sentry Cloudflare Vite plugin. Without the plugin, use `instrumentMistralAiClient`.
+The [`clickhouseIntegration`](./clickhouse/) traces `@clickhouse/client-web` when your Worker is built with the Sentry Cloudflare Vite plugin.
+
The [`prismaIntegration`](./prisma/) needs the `nodejs_compat` compatibility flag on your Worker.
diff --git a/platform-includes/configuration/integrations/javascript.deno.mdx b/platform-includes/configuration/integrations/javascript.deno.mdx
index e7b056b608096..4af806ddb332f 100644
--- a/platform-includes/configuration/integrations/javascript.deno.mdx
+++ b/platform-includes/configuration/integrations/javascript.deno.mdx
@@ -22,4 +22,5 @@
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`mistralAIIntegration`](./mistral/) | ✓ | | ✓ | | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | | |
diff --git a/platform-includes/configuration/integrations/javascript.fastify.mdx b/platform-includes/configuration/integrations/javascript.fastify.mdx
index 954b7d37a6a4e..b7285625f18c1 100644
--- a/platform-includes/configuration/integrations/javascript.fastify.mdx
+++ b/platform-includes/configuration/integrations/javascript.fastify.mdx
@@ -39,6 +39,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`anrIntegration`](./anr/) | | ✓ | | |
| [`awsLambdaWebIntegration`](./awslambdaweb/) | ✓ | | | ✓ |
| [`captureConsoleIntegration`](./captureconsole/) | | | | ✓ |
diff --git a/platform-includes/configuration/integrations/javascript.gcp-functions.mdx b/platform-includes/configuration/integrations/javascript.gcp-functions.mdx
index f58776e8a9ba9..dbedd0a031e3b 100644
--- a/platform-includes/configuration/integrations/javascript.gcp-functions.mdx
+++ b/platform-includes/configuration/integrations/javascript.gcp-functions.mdx
@@ -27,6 +27,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`firebaseIntegration`](./firebase/) | ✓ | | ✓ | |
| [`amqplibIntegration`](./amqplib/) | | | ✓ | |
| [`anrIntegration`](./anr/) | | ✓ | | |
diff --git a/platform-includes/configuration/integrations/javascript.hapi.mdx b/platform-includes/configuration/integrations/javascript.hapi.mdx
index 7390c815a8120..96b3727b98db7 100644
--- a/platform-includes/configuration/integrations/javascript.hapi.mdx
+++ b/platform-includes/configuration/integrations/javascript.hapi.mdx
@@ -40,6 +40,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`anrIntegration`](./anr/) | | ✓ | | |
| [`awsLambdaWebIntegration`](./awslambdaweb/) | ✓ | | | ✓ |
| [`captureConsoleIntegration`](./captureconsole/) | | | | ✓ |
diff --git a/platform-includes/configuration/integrations/javascript.nestjs.mdx b/platform-includes/configuration/integrations/javascript.nestjs.mdx
index 97fa6f1a46988..9aba9368c5cdd 100644
--- a/platform-includes/configuration/integrations/javascript.nestjs.mdx
+++ b/platform-includes/configuration/integrations/javascript.nestjs.mdx
@@ -54,6 +54,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | |
diff --git a/platform-includes/configuration/integrations/javascript.nextjs.mdx b/platform-includes/configuration/integrations/javascript.nextjs.mdx
index 35a7198397bd3..2610553607ad2 100644
--- a/platform-includes/configuration/integrations/javascript.nextjs.mdx
+++ b/platform-includes/configuration/integrations/javascript.nextjs.mdx
@@ -103,6 +103,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
diff --git a/platform-includes/configuration/integrations/javascript.node.mdx b/platform-includes/configuration/integrations/javascript.node.mdx
index 3362ecd736fd4..b52e92cabcd47 100644
--- a/platform-includes/configuration/integrations/javascript.node.mdx
+++ b/platform-includes/configuration/integrations/javascript.node.mdx
@@ -53,6 +53,7 @@
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`firebaseIntegration`](./firebase/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
diff --git a/platform-includes/configuration/integrations/javascript.nuxt.mdx b/platform-includes/configuration/integrations/javascript.nuxt.mdx
index db4ec7cad18f7..c1e35032e180b 100644
--- a/platform-includes/configuration/integrations/javascript.nuxt.mdx
+++ b/platform-includes/configuration/integrations/javascript.nuxt.mdx
@@ -95,6 +95,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | |
diff --git a/platform-includes/configuration/integrations/javascript.remix.mdx b/platform-includes/configuration/integrations/javascript.remix.mdx
index b90d1bd450b58..5e28b9af5e11b 100644
--- a/platform-includes/configuration/integrations/javascript.remix.mdx
+++ b/platform-includes/configuration/integrations/javascript.remix.mdx
@@ -95,6 +95,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | |
diff --git a/platform-includes/configuration/integrations/javascript.solidstart.mdx b/platform-includes/configuration/integrations/javascript.solidstart.mdx
index 44262f5509507..fc8d7bba3c262 100644
--- a/platform-includes/configuration/integrations/javascript.solidstart.mdx
+++ b/platform-includes/configuration/integrations/javascript.solidstart.mdx
@@ -96,5 +96,6 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
diff --git a/platform-includes/configuration/integrations/javascript.sveltekit.mdx b/platform-includes/configuration/integrations/javascript.sveltekit.mdx
index d9ab94bd4c61e..48377a70af0f8 100644
--- a/platform-includes/configuration/integrations/javascript.sveltekit.mdx
+++ b/platform-includes/configuration/integrations/javascript.sveltekit.mdx
@@ -95,6 +95,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`groqIntegration`](./groq/) | ✓ | | ✓ | |
| [`togetherAIIntegration`](./together-ai/) | ✓ | | ✓ | |
| [`typesafeIntegration`](./typesafe/) | ✓ | | ✓ | |
+| [`clickhouseIntegration`](./clickhouse/) | ✓ | | ✓ | |
| [`zodErrorsIntegration`](./zodErrors/) | | | | ✓ |
| [`pinoIntegration`](./pino/) | | ✓ | | |
| [`serveTunnelIntegration`](./servetunnel/) | | | | |
From c2518748043ad0a5987a3155b8dc329e9fa49cb6 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2026 13:32:22 +0000
Subject: [PATCH 5/5] docs(javascript): Trim ClickHouse spans and errors
sections
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Jan Peer Stöcklmair <10677263+JPeer264@users.noreply.github.com>
---
.../configuration/integrations/clickhouse.mdx | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
index 6fb081c7fefb7..40ab33b081bf1 100644
--- a/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/clickhouse.mdx
@@ -76,20 +76,7 @@ The integration only creates spans inside an active span, such as a request hand
## Spans
-Each span is named after the operation and the table it targets, for example `SELECT events` or `INSERT events`. Span attributes follow Sentry's `db.*` conventions, with `db.system.name` set to `clickhouse`. The spans also record the database, the user, and the server address and port of the client.
-
-Before the integration sends query text to Sentry, it:
-
-- Replaces string and number literals with `?`. For example, `SELECT name FROM events WHERE name = 'signup'` becomes `SELECT name FROM events WHERE name = ?`.
-- Removes comments.
-- Removes inline data sent with a statement, such as the rows after `INSERT INTO events FORMAT CSV`.
-- Keeps ClickHouse query parameters, such as `{id:UInt32}`, as written, but doesn't record their values from `query_params`.
-
-`insert()` spans record the target table, but not the inserted values or a query text.
-
-## Errors
-
-When a call fails, the span gets an error status. The integration doesn't capture the error, because the client still rejects to your code, which can handle it. Sentry captures errors you don't handle like any other unhandled error.
+The integration names each span after the operation and its table, for example `SELECT events`. In the query text, it replaces string and number literals with `?` and removes comments and inline data. It doesn't record `query_params` values or inserted rows.
## Supported Versions