We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87c813 commit 82cdcd2Copy full SHA for 82cdcd2
1 file changed
packages/astro/src/integration/index.ts
@@ -170,6 +170,10 @@ export const sentryAstro = (options: SentryOptions = {}): AstroIntegration => {
170
const isCloudflare = config?.adapter?.name?.startsWith('@astrojs/cloudflare');
171
const isCloudflareWorkers = isCloudflare && !isCloudflarePages();
172
173
+ // Wire up the orchestrion code transform so instrumented server-side dependencies (e.g.
174
+ // `mysql`, `ioredis`) get `diagnostics_channel` publishers injected into the SSR bundle at
175
+ // build time, with no manual plugin setup. The plugin opts out internally when
176
+ // `buildTimeInstrumentation` is `false`.
177
// TODO: Cloudflare/workerd needs different wiring — skipped for now.
178
if (sdkEnabled.server && !isCloudflare) {
179
updateConfig({
0 commit comments