From b5bdc27a7a29c76d00f45b791846cc6aeb5aae3e Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:19:44 +0000 Subject: [PATCH 1/6] feat(platforms): inherit fallback guide support rules Co-Authored-By: Francesco Gringl-Novy --- src/components/platformSection/index.tsx | 78 +++++++++++++----------- src/frontmatter.ts | 34 +++-------- src/guideConfig.ts | 6 +- src/mdx.ts | 52 +++++++--------- src/platformSupport.test.ts | 45 ++++++++++++++ src/platformSupport.ts | 58 ++++++++++++++++++ 6 files changed, 179 insertions(+), 94 deletions(-) create mode 100644 src/platformSupport.test.ts create mode 100644 src/platformSupport.ts diff --git a/src/components/platformSection/index.tsx b/src/components/platformSection/index.tsx index b8acbcd78d8ee3..c86bc365822e09 100644 --- a/src/components/platformSection/index.tsx +++ b/src/components/platformSection/index.tsx @@ -1,19 +1,49 @@ -import {DocNode, getCurrentPlatformOrGuide, getPlatform} from 'sentry-docs/docTree'; +import { + DocNode, + getCurrentPlatformOrGuide, + getGuide, + getPlatform, +} from 'sentry-docs/docTree'; +import {isPlatformSupported as resolvePlatformSupport} from 'sentry-docs/platformSupport'; import {serverContext} from 'sentry-docs/serverContext'; import {Platform, PlatformGuide} from 'sentry-docs/types'; import styles from './style.module.css'; -function getPlatformsWithFallback( +function getPlatformSupportKeys( rootNode: DocNode, platformOrGuide: Platform | PlatformGuide -) { - const result = [platformOrGuide.key]; - let curPlatform: Platform | PlatformGuide | undefined = platformOrGuide; - while (curPlatform?.fallbackPlatform) { - result.push(curPlatform.fallbackPlatform); - curPlatform = getPlatform(rootNode, curPlatform.fallbackPlatform); +): string[] { + const result: string[] = []; + const visited = new Set(); + let current: Platform | PlatformGuide | undefined = platformOrGuide; + + while (current && !visited.has(current.key)) { + result.push(current.key); + visited.add(current.key); + + if (current.type === 'guide') { + const parentPlatform = current.platform; + if (current.fallbackGuide && !visited.has(current.fallbackGuide)) { + const fallbackGuide = current.fallbackGuide; + const [platform, ...guideParts] = fallbackGuide.split('.'); + const fallback = getGuide(rootNode, platform, guideParts.join('.')); + if (fallback) { + current = fallback; + continue; + } + result.push(fallbackGuide); + visited.add(fallbackGuide); + } + current = getPlatform(rootNode, parentPlatform); + continue; + } + + current = current.fallbackPlatform + ? getPlatform(rootNode, current.fallbackPlatform) + : undefined; } + return result; } @@ -25,20 +55,6 @@ type Props = { supported?: string[]; }; -const isSupported = ( - platformKey: string, - supported: string[], - notSupported: string[] -): boolean | null => { - if (supported.length && supported.find(p => p === platformKey)) { - return true; - } - if (notSupported.length && notSupported.find(p => p === platformKey)) { - return false; - } - return null; -}; - /** * Resolves the same `supported` / `notSupported` rules as `PlatformSection` * for a platform or guide, walking its fallback chain. @@ -49,20 +65,10 @@ export function isPlatformSupported( supported: string[] = [], notSupported: string[] = [] ): boolean { - const platformsToSearch = getPlatformsWithFallback(rootNode, platformOrGuide); - - let result: boolean | null = null; - - for (const platformKey of platformsToSearch) { - result = isSupported(platformKey, supported, notSupported); - if (result !== null) { - break; - } - } - if (result === false) { - return false; - } - return result === true || supported.length === 0; + return resolvePlatformSupport(getPlatformSupportKeys(rootNode, platformOrGuide), { + supported, + notSupported, + }); } /** diff --git a/src/frontmatter.ts b/src/frontmatter.ts index 4b9a5b5512d01e..1b8028cc3f0d5f 100644 --- a/src/frontmatter.ts +++ b/src/frontmatter.ts @@ -8,6 +8,7 @@ import {limitFunction} from 'p-limit'; import {apiCategories} from './build/resolveOpenAPI'; import getAllFilesRecursively from './files'; import {readGuideConfig, shouldInheritCommonContent} from './guideConfig'; +import {getGuideSupportKeys, isPlatformSupported} from './platformSupport'; import {FrontMatter, PlatformConfig} from './types'; import {isNotNil} from './utils'; import {VERSION_INDICATOR} from './versioning'; @@ -22,30 +23,6 @@ const FILE_CONCURRENCY_LIMIT = 200; const formatSlug = (slug: string): string => slug.replace(/\.(mdx|md)$/, ''); -const isSupported = ( - frontmatter: FrontMatter, - platformName: string, - guideName?: string -): boolean => { - const canonical = guideName ? `${platformName}.${guideName}` : platformName; - if (frontmatter.supported && frontmatter.supported.length) { - if (frontmatter.supported.includes(canonical)) { - return true; - } - if (!frontmatter.supported.includes(platformName)) { - return false; - } - } - if ( - frontmatter.notSupported && - (frontmatter.notSupported.includes(canonical) || - frontmatter.notSupported.includes(platformName)) - ) { - return false; - } - return true; -}; - let getDocsFrontMatterCache: Promise | undefined; export function getDocsFrontMatter(): Promise { @@ -191,7 +168,7 @@ export async function getDocsFrontMatterFromDirectory( commonFiles.map( limitFunction( commonFile => { - if (!isSupported(commonFile.frontmatter, platformName)) { + if (!isPlatformSupported([platformName], commonFile.frontmatter)) { return; } @@ -270,7 +247,12 @@ export async function getDocsFrontMatterFromDirectory( commonFiles.map( limitFunction( commonFile => { - if (!isSupported(commonFile.frontmatter, platformName, guideName)) { + if ( + !isPlatformSupported( + getGuideSupportKeys(platformName, guideName, guideConfigs), + commonFile.frontmatter + ) + ) { return; } diff --git a/src/guideConfig.ts b/src/guideConfig.ts index c3271204d5cf6d..0c54e49af753e9 100644 --- a/src/guideConfig.ts +++ b/src/guideConfig.ts @@ -4,9 +4,11 @@ import path from 'node:path'; import matter from 'gray-matter'; import yaml from 'js-yaml'; -import type {FrontMatter, PlatformConfig} from './types'; +import type {FrontMatter, PlatformConfig, PlatformGuide} from './types'; -type GuideConfig = Partial & PlatformConfig; +type GuideConfig = Partial & + PlatformConfig & + Pick; async function readIndexFrontmatter(guidePath: string): Promise { try { diff --git a/src/mdx.ts b/src/mdx.ts index 7ceb1f532ca15d..694fa0ce4ce4a4 100644 --- a/src/mdx.ts +++ b/src/mdx.ts @@ -31,6 +31,7 @@ import getAllFilesRecursively from './files'; import {readGuideConfig, shouldInheritCommonContent} from './guideConfig'; import remarkDefList from './mdx-deflist'; import {DocMetrics} from './metrics'; +import {getGuideSupportKeys, isPlatformSupported} from './platformSupport'; import rehypeOnboardingLines from './rehype-onboarding-lines'; import rehypeSlug from './rehype-slug.js'; import remarkCodeTabs from './remark-code-tabs'; @@ -148,30 +149,6 @@ async function writeCacheFile(file: string, data: string) { function formatSlug(slug: string) { return slug.replace(/\.(mdx|md)/, ''); } -const isSupported = ( - frontmatter: FrontMatter, - platformName: string, - guideName?: string -): boolean => { - const canonical = guideName ? `${platformName}.${guideName}` : platformName; - if (frontmatter.supported && frontmatter.supported.length) { - if (frontmatter.supported.indexOf(canonical) !== -1) { - return true; - } - if (frontmatter.supported.indexOf(platformName) === -1) { - return false; - } - } - if ( - frontmatter.notSupported && - (frontmatter.notSupported.indexOf(canonical) !== -1 || - frontmatter.notSupported.indexOf(platformName) !== -1) - ) { - return false; - } - return true; -}; - let getDocsFrontMatterCache: Promise | undefined; export function getDocsFrontMatter(): Promise { @@ -382,7 +359,7 @@ export async function getAllFilesFrontMatter( await Promise.all( commonFiles.map(f => limit(async () => { - if (!isSupported(f.frontmatter, platformName)) { + if (!isPlatformSupported([platformName], f.frontmatter)) { return; } @@ -418,13 +395,23 @@ export async function getAllFilesFrontMatter( continue; } + const guideNames: string[] = []; for await (const guide of await opendir(guidesPath)) { - if (guide.isFile()) { - continue; + if (!guide.isFile()) { + guideNames.push(guide.name); } - const guideName = guide.name; + } + const guideConfigs = new Map( + await Promise.all( + guideNames.map( + async guideName => + [guideName, await readGuideConfig(path.join(guidesPath, guideName))] as const + ) + ) + ); - const guideFrontmatter = await readGuideConfig(path.join(guidesPath, guideName)); + for (const guideName of guideNames) { + const guideFrontmatter = guideConfigs.get(guideName) || {}; // Standalone framework guides opt out of platform common/ inheritance. if (!shouldInheritCommonContent(guideFrontmatter)) { @@ -434,7 +421,12 @@ export async function getAllFilesFrontMatter( await Promise.all( commonFiles.map(f => limit(async () => { - if (!isSupported(f.frontmatter, platformName, guideName)) { + if ( + !isPlatformSupported( + getGuideSupportKeys(platformName, guideName, guideConfigs), + f.frontmatter + ) + ) { return; } diff --git a/src/platformSupport.test.ts b/src/platformSupport.test.ts new file mode 100644 index 00000000000000..acc08875fb1d42 --- /dev/null +++ b/src/platformSupport.test.ts @@ -0,0 +1,45 @@ +import {describe, expect, it} from 'vitest'; + +import {getGuideSupportKeys, isPlatformSupported} from './platformSupport'; + +const guideConfigs = new Map([ + ['node', {}], + ['express', {fallbackGuide: 'javascript.node'}], +]); + +describe('platform support', () => { + it('inherits support rules through fallback guides', () => { + const keys = getGuideSupportKeys('javascript', 'express', guideConfigs); + + expect(keys).toEqual(['javascript.express', 'javascript.node', 'javascript']); + expect(isPlatformSupported(keys, {notSupported: ['javascript.node']})).toBe(false); + }); + + it('lets the current guide override a fallback rule', () => { + const keys = getGuideSupportKeys('javascript', 'express', guideConfigs); + + expect( + isPlatformSupported(keys, { + supported: ['javascript.express'], + notSupported: ['javascript.node'], + }) + ).toBe(true); + }); + + it('treats null support lists as unspecified', () => { + expect(isPlatformSupported(['javascript'], {supported: null})).toBe(true); + }); + + it('stops when fallback guides form a cycle', () => { + const cyclicConfigs = new Map([ + ['express', {fallbackGuide: 'javascript.node'}], + ['node', {fallbackGuide: 'javascript.express'}], + ]); + + expect(getGuideSupportKeys('javascript', 'express', cyclicConfigs)).toEqual([ + 'javascript.express', + 'javascript.node', + 'javascript', + ]); + }); +}); diff --git a/src/platformSupport.ts b/src/platformSupport.ts new file mode 100644 index 00000000000000..a855976111e418 --- /dev/null +++ b/src/platformSupport.ts @@ -0,0 +1,58 @@ +export type SupportConfig = { + notSupported?: string[] | null; + supported?: string[] | null; +}; + +/** Resolve support rules from the most specific guide to its fallbacks. */ +export function isPlatformSupported( + platformKeys: string[], + supportConfig: SupportConfig +): boolean { + const supported = supportConfig.supported ?? []; + const notSupported = supportConfig.notSupported ?? []; + + for (const platformKey of platformKeys) { + if (supported.includes(platformKey)) { + return true; + } + if (notSupported.includes(platformKey)) { + return false; + } + } + + return supported.length === 0; +} + +/** Return support keys for a guide while common pages are being expanded. */ +export function getGuideSupportKeys( + platform: string, + guide: string, + guideConfigs: Map +): string[] { + const result: string[] = []; + const visited = new Set(); + let currentGuide: string | undefined = guide; + + while (currentGuide) { + const key = `${platform}.${currentGuide}`; + if (visited.has(key)) { + break; + } + + result.push(key); + visited.add(key); + + const fallbackGuide = guideConfigs.get(currentGuide)?.fallbackGuide; + if (!fallbackGuide || visited.has(fallbackGuide)) { + break; + } + + const [fallbackPlatform, ...fallbackGuideParts] = fallbackGuide.split('.'); + if (fallbackPlatform !== platform) { + return [...result, fallbackGuide, fallbackPlatform]; + } + currentGuide = fallbackGuideParts.join('.'); + } + + return [...result, platform]; +} From 61b230a17d949371dcfac3339d5d79f93c68812a Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:49:52 +0000 Subject: [PATCH 2/6] ref(platforms): remove redundant guide support rules Co-Authored-By: Francesco Gringl-Novy --- .../common/agent-tracing/anthropic.mdx | 19 +++++------------ .../common/agent-tracing/google-genai.mdx | 19 +++++------------ .../javascript/common/agent-tracing/index.mdx | 13 ++---------- .../common/agent-tracing/langchain.mdx | 19 +++++------------ .../common/agent-tracing/langgraph.mdx | 19 +++++------------ .../agent-tracing/manual-instrumentation.mdx | 12 ----------- .../common/agent-tracing/mastra.mdx | 9 -------- .../common/agent-tracing/openai.mdx | 21 ++++++------------- .../common/agent-tracing/vercelai.mdx | 12 ----------- .../common/best-practices/index.mdx | 11 +--------- .../common/best-practices/micro-frontends.mdx | 10 --------- .../multiple-sentry-instances.mdx | 10 --------- .../common/best-practices/offline-caching.mdx | 11 +--------- .../best-practices/shared-environments.mdx | 10 --------- .../common/best-practices/web-workers.mdx | 10 --------- .../javascript/common/configuration/apis.mdx | 2 +- .../common/configuration/async-context.mdx | 10 +-------- .../common/configuration/event-loop-block.mdx | 9 -------- .../configuration/integrations/amqplib.mdx | 9 -------- .../common/configuration/integrations/anr.mdx | 9 -------- .../integrations/breadcrumbs.mdx | 10 --------- .../integrations/browserapierrors.mdx | 10 --------- .../integrations/browserprofiling.mdx | 10 --------- .../integrations/browsersession.mdx | 10 --------- .../integrations/browsertracing.mdx | 10 --------- .../integrations/childProcess.mdx | 9 -------- .../configuration/integrations/connect.mdx | 3 +-- .../configuration/integrations/console.mdx | 9 -------- .../integrations/contextlines.mdx | 10 --------- .../configuration/integrations/dataloader.mdx | 9 -------- .../integrations/elementtiming.mdx | 10 --------- .../integrations/event-loop-block.mdx | 9 -------- .../configuration/integrations/fastify.mdx | 2 +- .../configuration/integrations/firebase.mdx | 2 -- .../common/configuration/integrations/fs.mdx | 9 -------- .../integrations/genericpool.mdx | 9 -------- .../integrations/globalhandlers.mdx | 10 --------- .../configuration/integrations/graphql.mdx | 9 -------- .../integrations/graphqlclient.mdx | 10 --------- .../configuration/integrations/hapi.mdx | 2 +- .../configuration/integrations/http.mdx | 9 -------- .../configuration/integrations/httpclient.mdx | 10 --------- .../integrations/httpcontext.mdx | 10 --------- .../configuration/integrations/kafka.mdx | 9 -------- .../configuration/integrations/knex.mdx | 9 -------- .../common/configuration/integrations/koa.mdx | 2 +- .../integrations/launchdarkly.mdx | 10 --------- .../integrations/localvariables.mdx | 9 -------- .../integrations/lrumemoizer.mdx | 9 -------- .../integrations/modulemetadata.mdx | 10 --------- .../configuration/integrations/modules.mdx | 9 -------- .../configuration/integrations/mongo.mdx | 9 -------- .../configuration/integrations/mongoose.mdx | 9 -------- .../configuration/integrations/mysql.mdx | 9 -------- .../configuration/integrations/mysql2.mdx | 9 -------- .../configuration/integrations/nest.mdx | 2 +- .../integrations/nodecontext.mdx | 9 -------- .../configuration/integrations/nodefetch.mdx | 9 -------- .../integrations/nodeprofiling.mdx | 9 -------- .../integrations/noderuntimemetrics.mdx | 9 -------- .../integrations/onuncaughtexception.mdx | 9 -------- .../integrations/openfeature.mdx | 10 --------- .../configuration/integrations/pino.mdx | 9 -------- .../configuration/integrations/postgres.mdx | 9 -------- .../configuration/integrations/prisma.mdx | 9 -------- .../integrations/prisma__v8.x.mdx | 9 -------- .../configuration/integrations/redis.mdx | 9 -------- .../configuration/integrations/replay.mdx | 11 ---------- .../integrations/replaycanvas.mdx | 11 ---------- .../integrations/reportingobserver.mdx | 10 --------- .../integrations/requestdata.mdx | 9 -------- .../configuration/integrations/statsig.mdx | 8 ------- .../configuration/integrations/supabase.mdx | 9 -------- .../configuration/integrations/tedious.mdx | 9 -------- .../configuration/integrations/trpc.mdx | 9 -------- .../integrations/unhandledrejection.mdx | 9 -------- .../configuration/integrations/unleash.mdx | 10 --------- .../configuration/integrations/webworker.mdx | 10 --------- .../common/configuration/options.mdx | 4 ++-- .../common/configuration/transports.mdx | 11 +--------- .../common/configuration/tree-shaking.mdx | 11 +--------- .../javascript/common/crons/index.mdx | 15 +++---------- .../common/crons/troubleshooting.mdx | 9 -------- .../data-management/data-collected/index.mdx | 4 ++-- .../common/enriching-events/index.mdx | 2 +- .../request-isolation/index.mdx | 8 ------- .../javascript/common/install/commonjs.mdx | 7 +------ .../common/install/esm-without-import.mdx | 7 +------ .../javascript/common/install/esm.mdx | 7 +------ .../javascript/common/install/esm__v8.x.mdx | 6 ------ .../javascript/common/install/index.mdx | 1 - .../common/install/late-initialization.mdx | 7 +------ .../javascript/common/install/lightweight.mdx | 7 +------ .../javascript/common/install/loader.mdx | 11 ---------- .../javascript/common/install/npm.mdx | 11 ---------- .../javascript/common/logs/index.mdx | 4 ++-- .../common/mcp-monitoring/index.mdx | 9 -------- .../javascript/common/metrics/index.mdx | 2 +- .../migration/v7-to-v8/v8-opentelemetry.mdx | 9 -------- .../common/opentelemetry/custom-setup.mdx | 12 +---------- .../javascript/common/opentelemetry/index.mdx | 10 --------- .../using-opentelemetry-apis.mdx | 10 --------- .../common/session-replay/configuration.mdx | 11 ---------- .../common/session-replay/index.mdx | 11 ---------- .../common/session-replay/issue-types.mdx | 11 ---------- .../common/session-replay/privacy.mdx | 11 ---------- .../common/session-replay/troubleshooting.mdx | 11 ---------- .../session-replay/understanding-sessions.mdx | 11 ---------- .../sourcemaps/uploading/hosting-publicly.mdx | 10 --------- .../dealing-with-cors-issues/index.mdx | 11 +--------- .../javascript/common/tracing/index.mdx | 8 +++---- .../tracing/instrumentation/caches-module.mdx | 9 -------- .../tracing/instrumentation/queues-module.mdx | 9 -------- .../common/troubleshooting/index.mdx | 2 +- .../troubleshooting/supported-browsers.mdx | 11 +--------- .../user-feedback/configuration/index.mdx | 2 +- .../configuration/index__v7.x.mdx | 2 +- .../javascript/common/user-feedback/index.mdx | 2 +- ...quick-start-verify-metrics-splitlayout.mdx | 2 +- includes/quick-start-features-expandable.mdx | 4 ++-- .../quick-start-locate-data-expandable.mdx | 4 ++-- .../legacy-troubleshooting/javascript.mdx | 2 +- .../legacy-uploading-methods/javascript.mdx | 2 +- .../overview/javascript.capacitor.mdx | 2 +- .../sourcemaps/overview/javascript.mdx | 2 +- .../sourcemaps/troubleshooting/javascript.mdx | 10 --------- .../sourcemaps/upload/primer/javascript.mdx | 4 ++-- 127 files changed, 77 insertions(+), 1016 deletions(-) diff --git a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx index 58dfc1a673e106..bc1f7f895e8d58 100644 --- a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx +++ b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for the Anthropic SDK." sidebar_order: 22 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt @@ -41,13 +32,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.anthropicAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -61,7 +52,7 @@ supported: - + ## Manual Instrumentation @@ -119,7 +110,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `anthropicAIIntegration` integration for **automatic instrumentation**: @@ -138,7 +129,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def - + Using the `instrumentAnthropicAiClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx index 1bbacb51e7d68d..0304cc17350f80 100644 --- a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for Google Gen AI SDK." sidebar_order: 23 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt @@ -41,13 +32,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.googleGenAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -61,7 +52,7 @@ supported: - + ## Manual Instrumentation @@ -115,7 +106,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `googleGenAIIntegration` integration for **automatic instrumentation**: @@ -134,7 +125,7 @@ Sentry.init({ - + Using the `instrumentGoogleGenAIClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/index.mdx b/docs/platforms/javascript/common/agent-tracing/index.mdx index 3dcf561f1a0c8d..85bc651ac1bb72 100644 --- a/docs/platforms/javascript/common/agent-tracing/index.mdx +++ b/docs/platforms/javascript/common/agent-tracing/index.mdx @@ -13,7 +13,7 @@ With Sentry Agent Tracing, you can - + ## Getting Started @@ -123,16 +123,7 @@ Pick your AI stack. Some libraries auto-instrument; others need a short setup icon: "mastra", supported: [ "javascript.astro", - "javascript.aws-lambda", "javascript.azure-functions", - "javascript.connect", - "javascript.express", - "javascript.fastify", - "javascript.gcp-functions", - "javascript.hapi", - "javascript.hono", - "javascript.koa", - "javascript.nestjs", "javascript.nextjs", "javascript.node", "javascript.nuxt", @@ -284,7 +275,7 @@ If you're building MCP (Model Context Protocol) servers, Sentry can also track t - + ## Prerequisites diff --git a/docs/platforms/javascript/common/agent-tracing/langchain.mdx b/docs/platforms/javascript/common/agent-tracing/langchain.mdx index c53f98a84ba1aa..c876c48f9264f4 100644 --- a/docs/platforms/javascript/common/agent-tracing/langchain.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langchain.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for LangChain." sidebar_order: 24 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt @@ -41,13 +32,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.langChainIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -61,7 +52,7 @@ supported: - + ## Manual Instrumentation @@ -119,7 +110,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `langChainIntegration` integration for **automatic instrumentation**: @@ -138,7 +129,7 @@ Sentry.init({ - + Using the `createLangChainCallbackHandler` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx index 8a31c1a147c148..5c45b270ed7a6c 100644 --- a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for the LangGraph SDK." sidebar_order: 25 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt @@ -41,13 +32,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.langGraphIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -61,7 +52,7 @@ supported: - + ## Manual Instrumentation @@ -141,7 +132,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `langGraphIntegration` integration for **automatic instrumentation**: @@ -160,7 +151,7 @@ Sentry.init({ - + Using the `instrumentLangGraph` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx b/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx index 2f5d63b8abcf3f..dbe19706bf3b79 100644 --- a/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx +++ b/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx @@ -5,24 +5,12 @@ sidebar_order: 90 description: "Learn how to manually instrument your agents to capture spans, token usage, and tool execution." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.cloudflare - - javascript.connect - javascript.deno - javascript.effect - javascript.electron - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.firebase - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.astro - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/agent-tracing/mastra.mdx b/docs/platforms/javascript/common/agent-tracing/mastra.mdx index d1e01759c77c6a..be7f8ed97d9047 100644 --- a/docs/platforms/javascript/common/agent-tracing/mastra.mdx +++ b/docs/platforms/javascript/common/agent-tracing/mastra.mdx @@ -5,16 +5,7 @@ description: "Learn how to export Mastra AI tracing to Sentry." sidebar_order: 26 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.astro diff --git a/docs/platforms/javascript/common/agent-tracing/openai.mdx b/docs/platforms/javascript/common/agent-tracing/openai.mdx index 7cdb6b5b749c94..57b3d259d84c51 100644 --- a/docs/platforms/javascript/common/agent-tracing/openai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/openai.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for the OpenAI SDK." sidebar_order: 21 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt @@ -41,13 +32,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.openAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, **[wrap the client](#instrument-the-client)** with `instrumentOpenAiClient` instead. @@ -61,7 +52,7 @@ supported: - + ## Instrument the Client @@ -164,7 +155,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `openAIIntegration` integration for **automatic instrumentation**: @@ -183,7 +174,7 @@ Sentry.init({ - + Using the `instrumentOpenAiClient` wrapper: @@ -212,7 +203,7 @@ Instrumented calls record model, token usage, latency, and (when enabled) inputs The OpenAI SDK does **not** run your tools — your application does, after the model returns `tool_calls`. Because of that, `instrumentOpenAiClient` / `openAIIntegration` do **not** create `gen_ai.execute_tool` spans for local tool handlers. - + To get the full agent tree (`gen_ai.invoke_agent` → `gen_ai.chat` + `gen_ai.execute_tool`), wrap your tool loop with manual instrumentation. diff --git a/docs/platforms/javascript/common/agent-tracing/vercelai.mdx b/docs/platforms/javascript/common/agent-tracing/vercelai.mdx index 83cf7254934179..3bc2a3e7e0c5f5 100644 --- a/docs/platforms/javascript/common/agent-tracing/vercelai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/vercelai.mdx @@ -4,24 +4,12 @@ description: "Adds instrumentation for Vercel AI SDK." sidebar_order: 20 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.cloudflare - - javascript.connect - javascript.deno - javascript.effect - javascript.electron - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.firebase - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.astro - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/best-practices/index.mdx b/docs/platforms/javascript/common/best-practices/index.mdx index a55b12a1839754..d197b2a2a6bebf 100644 --- a/docs/platforms/javascript/common/best-practices/index.mdx +++ b/docs/platforms/javascript/common/best-practices/index.mdx @@ -5,17 +5,8 @@ sidebar_order: 18 sidebar_section: configuration notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs + --- diff --git a/docs/platforms/javascript/common/best-practices/micro-frontends.mdx b/docs/platforms/javascript/common/best-practices/micro-frontends.mdx index 942f91b739d309..7cec673318a720 100644 --- a/docs/platforms/javascript/common/best-practices/micro-frontends.mdx +++ b/docs/platforms/javascript/common/best-practices/micro-frontends.mdx @@ -4,17 +4,7 @@ sidebar_order: 200 description: Learn how to identify the source of errors and route events to different Sentry projects when using micro frontends or module federation. notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs keywords: [ "micro frontend", diff --git a/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx b/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx index 738dbf78ab5a95..65b2b54d776028 100644 --- a/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx +++ b/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx @@ -4,17 +4,7 @@ sidebar_order: 300 description: Learn how to manage several Sentry instances by creating your own clients. notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs keywords: ["multiple clients", "BrowserClient", "NodeClient", "monorepo"] --- diff --git a/docs/platforms/javascript/common/best-practices/offline-caching.mdx b/docs/platforms/javascript/common/best-practices/offline-caching.mdx index ad1fc32cb3c052..50430b0042e1ee 100644 --- a/docs/platforms/javascript/common/best-practices/offline-caching.mdx +++ b/docs/platforms/javascript/common/best-practices/offline-caching.mdx @@ -8,17 +8,8 @@ notSupported: - javascript.electron - javascript.wasm - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs + --- If your JavaScript application is designed to continue working offline, diff --git a/docs/platforms/javascript/common/best-practices/shared-environments.mdx b/docs/platforms/javascript/common/best-practices/shared-environments.mdx index 06aa6182dc8065..500036563407fa 100644 --- a/docs/platforms/javascript/common/best-practices/shared-environments.mdx +++ b/docs/platforms/javascript/common/best-practices/shared-environments.mdx @@ -4,17 +4,7 @@ sidebar_order: 50 description: Learn how to use Sentry in shared environments (for example in browser extensions or VSCode extensions). notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs keywords: [ "BrowserClient", diff --git a/docs/platforms/javascript/common/best-practices/web-workers.mdx b/docs/platforms/javascript/common/best-practices/web-workers.mdx index 82fbb3a399fa56..5fe2fa7fe2b096 100644 --- a/docs/platforms/javascript/common/best-practices/web-workers.mdx +++ b/docs/platforms/javascript/common/best-practices/web-workers.mdx @@ -8,17 +8,7 @@ supported: notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/apis.mdx b/docs/platforms/javascript/common/configuration/apis.mdx index 8548854d277617..75202024cfd06a 100644 --- a/docs/platforms/javascript/common/configuration/apis.mdx +++ b/docs/platforms/javascript/common/configuration/apis.mdx @@ -488,7 +488,7 @@ Sentry.setContext("character", { - + `Sentry.setUser()` will set the user for the currently active request - see Request Isolation for more information. For example, if you want to set the user for a single request, you can do this like this: diff --git a/docs/platforms/javascript/common/configuration/async-context.mdx b/docs/platforms/javascript/common/configuration/async-context.mdx index b0cd1171b3f03b..4d451ad782d317 100644 --- a/docs/platforms/javascript/common/configuration/async-context.mdx +++ b/docs/platforms/javascript/common/configuration/async-context.mdx @@ -4,16 +4,8 @@ sidebar_order: 80 description: "Learn more about how to isolate Sentry scope and breadcrumbs across requests." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs + --- By default, the Sentry SDK will automatically isolate each request's scope and breadcrumbs. This means that any breadcrumbs or tags added will be isolated to the request. This is useful if you are finding that breadcrumbs and scope are leaking across requests. Take the following example: diff --git a/docs/platforms/javascript/common/configuration/event-loop-block.mdx b/docs/platforms/javascript/common/configuration/event-loop-block.mdx index a91c58116ea6bb..8b9373b0d480ca 100644 --- a/docs/platforms/javascript/common/configuration/event-loop-block.mdx +++ b/docs/platforms/javascript/common/configuration/event-loop-block.mdx @@ -4,16 +4,7 @@ sidebar_order: 70 description: Monitor for blocked event loops in Node.js applications supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx b/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx index 69cab9d7b58efe..707410d14308dd 100644 --- a/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx @@ -4,18 +4,9 @@ description: "Adds instrumentation for Amqplib. (default)" supported: - javascript.node - javascript.astro - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - javascript.deno - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - javascript.electron - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/anr.mdx b/docs/platforms/javascript/common/configuration/integrations/anr.mdx index 2f148425bc002c..a715e08ff0f00c 100644 --- a/docs/platforms/javascript/common/configuration/integrations/anr.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/anr.mdx @@ -3,16 +3,7 @@ title: Anr description: "Capture events when the event loop is blocked and the application is no longer responding." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx b/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx index 208836528ac366..dc0c893fd59aa9 100644 --- a/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx @@ -4,17 +4,7 @@ sidebar_title: "Breadcrumbs" description: "Wraps native browser APIs to capture breadcrumbs. (default)" notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx b/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx index 1bd1b023eacce5..f98b4ab0d7b677 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx @@ -4,17 +4,7 @@ description: "Wraps native time and events APIs (`setTimeout`, `setInterval`, `r notSupported: - javascript.electron - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx b/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx index 0e38d2b0b6de08..80eccc89fdfa21 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx @@ -5,17 +5,7 @@ notSupported: - javascript.cordova - javascript.capacitor - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx b/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx index f5eb7c3e6a6180..1dc7cb473e2f37 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx @@ -4,17 +4,7 @@ description: "Track healthy Sessions in the Browser." notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx b/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx index 3355d9e3a8f1fd..8262a3d5165f28 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx @@ -4,17 +4,7 @@ description: "Capture performance data for the Browser." notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx index 8e1fa075095c6e..f3e5dc59842170 100644 --- a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx @@ -3,16 +3,7 @@ title: Child Process Integration description: "Adds instrumentation for child processes and worker threads (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/connect.mdx b/docs/platforms/javascript/common/configuration/integrations/connect.mdx index 063349091b6ada..c13d986ebc629e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/connect.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/connect.mdx @@ -3,8 +3,7 @@ title: Connect description: "Adds performance instrumentation for Connect. (default)" supported: - javascript.node - - javascript.connect - - javascript.hapi + --- For more information on setting up Sentry Connect support, see the [Connect Sentry documentation](/platforms/javascript/guides/connect/). diff --git a/docs/platforms/javascript/common/configuration/integrations/console.mdx b/docs/platforms/javascript/common/configuration/integrations/console.mdx index d187b87951d8b1..a03a040752cfe8 100644 --- a/docs/platforms/javascript/common/configuration/integrations/console.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/console.mdx @@ -4,16 +4,7 @@ description: "Capture console logs as breadcrumbs. (default)" customCanonicalTag: "/platforms/javascript/guides/express/configuration/integrations/console/" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx index 15cd1bfd149016..8ce92f5a0161a9 100644 --- a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx @@ -4,17 +4,7 @@ description: "Adds source code from inline JavaScript of the current page's HTML notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx b/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx index 6c98bdede4ef68..8d1588acb242bc 100644 --- a/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx @@ -3,16 +3,7 @@ title: Dataloader description: "Adds instrumentation for Dataloader." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx b/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx index 0d6fcfac95647a..a4b05c802585bd 100644 --- a/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx @@ -6,17 +6,7 @@ notSupported: - javascript.cordova - javascript.capacitor - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx b/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx index 07f5a2ee7364bb..337eba62717a7d 100644 --- a/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx @@ -3,16 +3,7 @@ title: Event Loop Block description: "Monitor for blocked event loops in all threads of a Node.js application." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx index 2153b5b0c79635..d08fe7ce8a1a06 100644 --- a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx @@ -3,7 +3,7 @@ title: Fastify description: "Adds performance instrumentation for Fastify. (default)" supported: - javascript.node - - javascript.fastify + --- For more information on setting up Sentry Fastify support, see the [Fastify Sentry documentation](/platforms/javascript/guides/fastify/). diff --git a/docs/platforms/javascript/common/configuration/integrations/firebase.mdx b/docs/platforms/javascript/common/configuration/integrations/firebase.mdx index baaff71bff3700..f656a191077a71 100644 --- a/docs/platforms/javascript/common/configuration/integrations/firebase.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/firebase.mdx @@ -3,8 +3,6 @@ title: Firebase description: "Adds instrumentation for Firebase. (default)" supported: - javascript.node - - javascript.firebase - - javascript.gcp-functions - javascript.astro - javascript.bun --- diff --git a/docs/platforms/javascript/common/configuration/integrations/fs.mdx b/docs/platforms/javascript/common/configuration/integrations/fs.mdx index 2fe4ec650f019f..323b3f287ae029 100644 --- a/docs/platforms/javascript/common/configuration/integrations/fs.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/fs.mdx @@ -3,16 +3,7 @@ title: FileSystem description: "Adds instrumentation for filesystem operations." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx b/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx index ab9b414be704c7..07bb71e4b32974 100644 --- a/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx @@ -3,16 +3,7 @@ title: Generic Pool description: "Adds instrumentation for Generic Pool. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx b/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx index 15c83d5803de2a..a823fc81a3fc86 100644 --- a/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx @@ -4,17 +4,7 @@ description: "Attaches global handlers to capture uncaught exceptions and unhand notSupported: - javascript.electron - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.bun --- diff --git a/docs/platforms/javascript/common/configuration/integrations/graphql.mdx b/docs/platforms/javascript/common/configuration/integrations/graphql.mdx index 6d290529014755..26e6971cb9e304 100644 --- a/docs/platforms/javascript/common/configuration/integrations/graphql.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/graphql.mdx @@ -3,16 +3,7 @@ title: GraphQL description: "Adds instrumentation for GraphQL. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx b/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx index f4cc5405290390..6eb788cb9f3bd9 100644 --- a/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx @@ -3,17 +3,7 @@ title: GraphQLClient description: "Enhance spans and breadcrumbs with data from GraphQL requests." notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/hapi.mdx b/docs/platforms/javascript/common/configuration/integrations/hapi.mdx index d7369d7b9cf087..551f1cf9f9dc94 100644 --- a/docs/platforms/javascript/common/configuration/integrations/hapi.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/hapi.mdx @@ -3,7 +3,7 @@ title: Hapi description: "Adds performance instrumentation for Hapi. (default)" supported: - javascript.node - - javascript.hapi + --- For more information on setting up Sentry Hapi support, see the [Hapi Sentry documentation](/platforms/javascript/guides/hapi/). diff --git a/docs/platforms/javascript/common/configuration/integrations/http.mdx b/docs/platforms/javascript/common/configuration/integrations/http.mdx index 471b9d39293c3d..52320dbb7ed62f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/http.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/http.mdx @@ -3,16 +3,7 @@ title: Http description: "Capture spans & breadcrumbs for http requests. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx b/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx index 4174a8f456e1ca..2c73089888a2ea 100644 --- a/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx @@ -3,17 +3,7 @@ title: HttpClient description: "Captures errors on failed requests from Fetch and XHR and attaches request and response information." notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx b/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx index 220f435eb4899d..e60813a85f1e56 100644 --- a/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx @@ -4,17 +4,7 @@ description: "Attaches HTTP request information, such as URL, user-agent, referr notSupported: - javascript.electron - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/integrations/kafka.mdx b/docs/platforms/javascript/common/configuration/integrations/kafka.mdx index 9bad7b570803af..c36db362d30308 100644 --- a/docs/platforms/javascript/common/configuration/integrations/kafka.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/kafka.mdx @@ -3,16 +3,7 @@ title: Kafka description: "Adds instrumentation for KafkaJS. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/knex.mdx b/docs/platforms/javascript/common/configuration/integrations/knex.mdx index a047c6921e3121..132fe760aee59c 100644 --- a/docs/platforms/javascript/common/configuration/integrations/knex.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/knex.mdx @@ -3,16 +3,7 @@ title: Knex description: "Adds instrumentation for Knex." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/koa.mdx b/docs/platforms/javascript/common/configuration/integrations/koa.mdx index f506ba65520efd..89c5429c95ce99 100644 --- a/docs/platforms/javascript/common/configuration/integrations/koa.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/koa.mdx @@ -3,7 +3,7 @@ title: Koa description: "Adds performance instrumentation for Koa. (default)" supported: - javascript.node - - javascript.koa + --- For more information on setting up Sentry Koa support, see the [Koa Sentry documentation](/platforms/javascript/guides/koa/). diff --git a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx index 1e50e3d11c8a6a..cb56847496d222 100644 --- a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx @@ -2,23 +2,13 @@ title: LaunchDarkly description: "Learn how to use Sentry with LaunchDarkly." notSupported: - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.capacitor - javascript.cloudflare - - javascript.connect - javascript.cordova - javascript.deno - javascript.electron - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.node - javascript.wasm --- diff --git a/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx b/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx index 76a79b8f866c48..43512651a27c57 100644 --- a/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx @@ -3,16 +3,7 @@ title: LocalVariables description: "Add local variables to exception frames. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx b/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx index 1825f63af881ff..c742133b03938f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx @@ -4,18 +4,9 @@ description: "Adds instrumentation for LRU Memoizer. (default)" supported: - javascript.node - javascript.astro - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - javascript.deno - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - javascript.electron - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx b/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx index 270db019279b19..749940bea0f6aa 100644 --- a/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx @@ -4,17 +4,7 @@ description: "Adds module metadata to stack frames." notSupported: - javascript.electron - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.bun - javascript.cloudflare diff --git a/docs/platforms/javascript/common/configuration/integrations/modules.mdx b/docs/platforms/javascript/common/configuration/integrations/modules.mdx index fbe0764f100aec..4c0570366a607b 100644 --- a/docs/platforms/javascript/common/configuration/integrations/modules.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/modules.mdx @@ -3,16 +3,7 @@ title: Modules description: "Add node modules / packages to the event. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/mongo.mdx b/docs/platforms/javascript/common/configuration/integrations/mongo.mdx index bb32c603684f6a..8b3931da1012bb 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mongo.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mongo.mdx @@ -3,16 +3,7 @@ title: MongoDB description: "Adds instrumentation for MongoDB. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx b/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx index ec8e1e745eecbc..a60fc6a0bc9d84 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx @@ -3,16 +3,7 @@ title: Mongoose description: "Adds instrumentation for Mongoose. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/mysql.mdx b/docs/platforms/javascript/common/configuration/integrations/mysql.mdx index 35980cd4ab747f..0116d1bceb7ae5 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mysql.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mysql.mdx @@ -3,16 +3,7 @@ title: MySQL description: "Adds instrumentation for MySQL. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx b/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx index c5b7fd78a9e819..2c6dc9e01eeffd 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx @@ -3,16 +3,7 @@ title: MySQL2 description: "Adds instrumentation for MySQL2. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/nest.mdx b/docs/platforms/javascript/common/configuration/integrations/nest.mdx index 5012e189852d1f..fa5822c61a9ba5 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nest.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nest.mdx @@ -3,7 +3,7 @@ title: Nest.js description: "Adds performance instrumentation for Nest.js. (default)" supported: - javascript.node - - javascript.nestjs + --- For more information on setting up Sentry Nest.js support, see the [Nest.js Sentry documentation](/platforms/javascript/guides/nestjs/). diff --git a/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx b/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx index debb9789044b5b..4939f5d142c59f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx @@ -3,16 +3,7 @@ title: Context description: "Capture context about the environment and the device that the client is running on, and add it to events. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx index 03917579c0affa..16387226a30ce5 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx @@ -4,16 +4,7 @@ description: "Capture spans & breadcrumbs for node fetch requests. (default)" customCanonicalTag: "/platforms/javascript/guides/nuxt/configuration/integrations/nodefetch/" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx b/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx index 17f963214f1af8..76e91d207fb259 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx @@ -3,16 +3,7 @@ title: NodeProfiling description: "Capture profiling data for Node.js applications." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx b/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx index 8bb6e976d1f038..4fd642cff9a31f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx @@ -3,16 +3,7 @@ title: NodeRuntimeMetrics description: "Collect Node.js runtime health metrics such as memory usage, CPU utilization, and event loop delay." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx b/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx index f5e9c0af00afaf..b61c6529661d1a 100644 --- a/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx @@ -3,16 +3,7 @@ title: OnUncaughtException description: "Registers handlers to capture global uncaught exceptions. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx index 8f87d9ad322218..0b0a5cb9c8d4d3 100644 --- a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx @@ -2,23 +2,13 @@ title: OpenFeature description: "Learn how to use Sentry with OpenFeature." notSupported: - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.capacitor - javascript.cloudflare - - javascript.connect - javascript.cordova - javascript.deno - javascript.electron - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.node - javascript.wasm --- diff --git a/docs/platforms/javascript/common/configuration/integrations/pino.mdx b/docs/platforms/javascript/common/configuration/integrations/pino.mdx index bb729ea9e91005..0c3de4fda97845 100644 --- a/docs/platforms/javascript/common/configuration/integrations/pino.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/pino.mdx @@ -4,18 +4,9 @@ description: "Capture logs and errors from Pino." supported: - javascript.node - javascript.astro - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - javascript.deno - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - javascript.electron - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/postgres.mdx b/docs/platforms/javascript/common/configuration/integrations/postgres.mdx index 4ad27896ab6c26..1cbf6c7ab473a5 100644 --- a/docs/platforms/javascript/common/configuration/integrations/postgres.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/postgres.mdx @@ -3,16 +3,7 @@ title: Postgres description: "Adds instrumentation for Postgres. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx index fdf26ca89d8921..62ea5db68d798c 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx @@ -3,16 +3,7 @@ title: Prisma description: "Adds instrumentation for Prisma. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx index 0a7c305475b369..e01f84299b2246 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for Prisma." noindex: true # Not indexed because it is a versioned docs page supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/redis.mdx b/docs/platforms/javascript/common/configuration/integrations/redis.mdx index b27a75a0189df2..62dc66e4f539b0 100644 --- a/docs/platforms/javascript/common/configuration/integrations/redis.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/redis.mdx @@ -3,16 +3,7 @@ title: Redis description: "Adds instrumentation for Redis. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/replay.mdx b/docs/platforms/javascript/common/configuration/integrations/replay.mdx index 582038ca585f63..af70b152d2e70e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/replay.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/replay.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare --- diff --git a/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx b/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx index aad2adcbcf66d7..f0ad005ca05f12 100644 --- a/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare --- diff --git a/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx b/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx index 8f4d6384683ad3..d72f981c93ed49 100644 --- a/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx @@ -3,17 +3,7 @@ title: ReportingObserver description: "Captures the reports collected via the `ReportingObserver` interface and sends them to Sentry." notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.bun - javascript.cloudflare diff --git a/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx b/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx index 049a3712b072b7..713ca4be150c07 100644 --- a/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx @@ -5,16 +5,7 @@ supported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/statsig.mdx b/docs/platforms/javascript/common/configuration/integrations/statsig.mdx index 22c74155148384..9243debb714fef 100644 --- a/docs/platforms/javascript/common/configuration/integrations/statsig.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/statsig.mdx @@ -2,21 +2,13 @@ title: Statsig description: "Learn how to use Sentry with Statsig." notSupported: - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.capacitor - javascript.cloudflare - - javascript.connect - javascript.cordova - javascript.deno - javascript.electron - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.koa - - javascript.nestjs - javascript.node - javascript.wasm --- diff --git a/docs/platforms/javascript/common/configuration/integrations/supabase.mdx b/docs/platforms/javascript/common/configuration/integrations/supabase.mdx index a00619253a456e..9532e84be6398f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/supabase.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/supabase.mdx @@ -4,16 +4,7 @@ description: "Adds instrumentation for Supabase client operations." supported: - javascript.browser - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/tedious.mdx b/docs/platforms/javascript/common/configuration/integrations/tedious.mdx index 764f8eed16f6cf..a329fc133a2ca2 100644 --- a/docs/platforms/javascript/common/configuration/integrations/tedious.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/tedious.mdx @@ -4,18 +4,9 @@ description: "Adds instrumentation for Tedious. (default)" supported: - javascript.node - javascript.astro - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - javascript.deno - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - javascript.electron - - javascript.nestjs - javascript.nextjs - javascript.nuxt - javascript.solidstart diff --git a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx index 7b12127efbecfb..80cf0b8c943c29 100644 --- a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx @@ -3,16 +3,7 @@ title: trpcMiddleware description: "Capture spans & errors for tRPC handlers." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx b/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx index 1cf4b2c2c1f1e8..94af7835138714 100644 --- a/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx @@ -3,16 +3,7 @@ title: OnUnhandledRejection description: "Registers handlers to capture global unhandled promise rejections. (default)" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.electron - javascript.nextjs - javascript.nuxt diff --git a/docs/platforms/javascript/common/configuration/integrations/unleash.mdx b/docs/platforms/javascript/common/configuration/integrations/unleash.mdx index f032d9e57a9b39..03258fad79cda7 100644 --- a/docs/platforms/javascript/common/configuration/integrations/unleash.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/unleash.mdx @@ -2,23 +2,13 @@ title: Unleash description: "Learn how to use Sentry with Unleash." notSupported: - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - javascript.capacitor - javascript.cloudflare - - javascript.connect - javascript.cordova - javascript.deno - javascript.electron - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.node - javascript.wasm --- diff --git a/docs/platforms/javascript/common/configuration/integrations/webworker.mdx b/docs/platforms/javascript/common/configuration/integrations/webworker.mdx index 3f49041ff87cb2..904778781aed1a 100644 --- a/docs/platforms/javascript/common/configuration/integrations/webworker.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/webworker.mdx @@ -4,17 +4,7 @@ description: "Connect Web Workers with the SDK running on the main thread" notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.deno - javascript.cloudflare - javascript.bun diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx index 00747954306fdf..ca898df8d9aecf 100644 --- a/docs/platforms/javascript/common/configuration/options.mdx +++ b/docs/platforms/javascript/common/configuration/options.mdx @@ -269,7 +269,7 @@ Set this option to `false` to disable sending of client reports. Client reports Set this option to `true` to add stack local variables to stack traces. - + For more advanced configuration options, see the documentation on the Local Variables integration options. @@ -733,7 +733,7 @@ If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org This header is attached in addition to the `sentry-trace` and `baggage` headers. Set this option to `true` if your backend services are instrumented with e.g. OpenTelemetry or other W3C Trace Context compatible libraries and you want to continue traces from the client. - + **Important:** Make sure that your backend services' CORS configuration allows the `traceparent` header. Otherwise, requests might be blocked. diff --git a/docs/platforms/javascript/common/configuration/transports.mdx b/docs/platforms/javascript/common/configuration/transports.mdx index 2b38187be3cb94..80a0c3cb75b767 100644 --- a/docs/platforms/javascript/common/configuration/transports.mdx +++ b/docs/platforms/javascript/common/configuration/transports.mdx @@ -8,17 +8,8 @@ notSupported: - javascript.electron - javascript.wasm - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs + --- The JavaScript SDK uses a `transport` to send events to Sentry. On modern browsers, most transports use the browsers' `fetch` API to send events. Transports will drop an event if it fails to send due to a lack of connection. diff --git a/docs/platforms/javascript/common/configuration/tree-shaking.mdx b/docs/platforms/javascript/common/configuration/tree-shaking.mdx index e3d50897086c40..5b3b1c7c2c56a7 100644 --- a/docs/platforms/javascript/common/configuration/tree-shaking.mdx +++ b/docs/platforms/javascript/common/configuration/tree-shaking.mdx @@ -268,16 +268,7 @@ This means that the `ClientOptions.integrations` property is the final array of + 'javascript.azure-functions']}> ## Tree Shaking Default Integrations diff --git a/docs/platforms/javascript/common/crons/index.mdx b/docs/platforms/javascript/common/crons/index.mdx index 5f8590e088cc4e..67267cdeab6607 100644 --- a/docs/platforms/javascript/common/crons/index.mdx +++ b/docs/platforms/javascript/common/crons/index.mdx @@ -13,23 +13,14 @@ supported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.cloudflare - - javascript.nitro + --- Once implemented, it'll allow you to get alerts and metrics to help you solve errors, detect timeouts, and prevent disruptions to your service. - + ## Requirements @@ -39,7 +30,7 @@ Once implemented, it'll allow you to get alerts and metrics to help you solve er - + ## Requirements diff --git a/docs/platforms/javascript/common/crons/troubleshooting.mdx b/docs/platforms/javascript/common/crons/troubleshooting.mdx index 1c0f01461637fc..1ee480eb385a48 100644 --- a/docs/platforms/javascript/common/crons/troubleshooting.mdx +++ b/docs/platforms/javascript/common/crons/troubleshooting.mdx @@ -12,16 +12,7 @@ supported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.cloudflare - javascript.tanstackstart-react --- diff --git a/docs/platforms/javascript/common/data-management/data-collected/index.mdx b/docs/platforms/javascript/common/data-management/data-collected/index.mdx index 4197f17a1a69c7..bfcdd6b8306b6c 100644 --- a/docs/platforms/javascript/common/data-management/data-collected/index.mdx +++ b/docs/platforms/javascript/common/data-management/data-collected/index.mdx @@ -125,7 +125,7 @@ To disable source map upload, see the Source Maps The Sentry SDK does not send local variables in the error stack trace in client-side JavaScript SDKs. - + You can enable sending local variables by setting `includeLocalVariables: true` in the `Sentry.init()` call. This activates the Local Variables Integration. The integration is added by default in Node.js-based runtimes. @@ -149,7 +149,7 @@ By default, the Sentry SDK sends information about the device and runtime to Sen - + ## Session Replay diff --git a/docs/platforms/javascript/common/enriching-events/index.mdx b/docs/platforms/javascript/common/enriching-events/index.mdx index 5c44f0083627c9..e4bf89e351d925 100644 --- a/docs/platforms/javascript/common/enriching-events/index.mdx +++ b/docs/platforms/javascript/common/enriching-events/index.mdx @@ -70,7 +70,7 @@ All events have a fingerprint. Events with the same fingerprint are grouped toge When an event is captured and sent to Sentry, SDKs will merge that event data with extra information from the current scope. SDKs will typically automatically manage the scopes for you in the framework integrations and you don't need to think about them. However, if you want to better understand how scopes work and how you can leverage them for your use case, you can learn more about scopes. - + ## Request Isolation Learn more about how to isolate requests diff --git a/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx b/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx index 51bc2622fe204d..47cd7fcda6125a 100644 --- a/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx +++ b/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx @@ -4,14 +4,6 @@ description: "Learn more about how request isolation (or process isolation) work supported: - javascript.nextjs - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.nuxt - javascript.solidstart - javascript.sveltekit diff --git a/docs/platforms/javascript/common/install/commonjs.mdx b/docs/platforms/javascript/common/install/commonjs.mdx index 978d93e2ea3634..68c8feb68544f3 100644 --- a/docs/platforms/javascript/common/install/commonjs.mdx +++ b/docs/platforms/javascript/common/install/commonjs.mdx @@ -4,12 +4,7 @@ sidebar_order: 9 description: "Learn about running Sentry in an CJS application." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa + --- diff --git a/docs/platforms/javascript/common/install/esm-without-import.mdx b/docs/platforms/javascript/common/install/esm-without-import.mdx index a1a742bb750f5a..378b1d15c26192 100644 --- a/docs/platforms/javascript/common/install/esm-without-import.mdx +++ b/docs/platforms/javascript/common/install/esm-without-import.mdx @@ -4,12 +4,7 @@ sidebar_order: 11 description: "Learn about running Sentry in an ESM application, without the --import flag." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa + --- diff --git a/docs/platforms/javascript/common/install/esm.mdx b/docs/platforms/javascript/common/install/esm.mdx index d222a843810b87..e97d5c27b43d5f 100644 --- a/docs/platforms/javascript/common/install/esm.mdx +++ b/docs/platforms/javascript/common/install/esm.mdx @@ -4,12 +4,7 @@ sidebar_order: 10 description: "Learn about running Sentry in an ESM application." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa + --- diff --git a/docs/platforms/javascript/common/install/esm__v8.x.mdx b/docs/platforms/javascript/common/install/esm__v8.x.mdx index fb850ab562d987..3eb0d3c2a33e9b 100644 --- a/docs/platforms/javascript/common/install/esm__v8.x.mdx +++ b/docs/platforms/javascript/common/install/esm__v8.x.mdx @@ -4,12 +4,6 @@ sidebar_order: 10 description: "Learn about running Sentry in an ESM application." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa noindex: true --- diff --git a/docs/platforms/javascript/common/install/index.mdx b/docs/platforms/javascript/common/install/index.mdx index 2335903a1eb650..0fe8d8d6aac809 100644 --- a/docs/platforms/javascript/common/install/index.mdx +++ b/docs/platforms/javascript/common/install/index.mdx @@ -26,7 +26,6 @@ notSupported: - javascript.aws-lambda - javascript.gcp-functions - javascript.cloudflare - - javascript.elysia - javascript.react-router - javascript.tanstackstart-react --- diff --git a/docs/platforms/javascript/common/install/late-initialization.mdx b/docs/platforms/javascript/common/install/late-initialization.mdx index 1362f0af7741af..acf8ef1e7dc198 100644 --- a/docs/platforms/javascript/common/install/late-initialization.mdx +++ b/docs/platforms/javascript/common/install/late-initialization.mdx @@ -4,12 +4,7 @@ sidebar_order: 12 description: "Learn about running Sentry in an ESM or CJS application, in scenarios where you cannot run init early." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa + --- diff --git a/docs/platforms/javascript/common/install/lightweight.mdx b/docs/platforms/javascript/common/install/lightweight.mdx index dd87680c2cc5ba..7bf9bd7fd3693e 100644 --- a/docs/platforms/javascript/common/install/lightweight.mdx +++ b/docs/platforms/javascript/common/install/lightweight.mdx @@ -4,12 +4,7 @@ sidebar_order: 15 description: "Learn about running Sentry in lightweight mode without OpenTelemetry, or with optional OTLP integration for existing OTel setups." supported: - javascript.node - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.hapi - - javascript.hono - - javascript.koa + --- diff --git a/docs/platforms/javascript/common/install/loader.mdx b/docs/platforms/javascript/common/install/loader.mdx index 91de29e976014d..21ea185a6ddb4b 100644 --- a/docs/platforms/javascript/common/install/loader.mdx +++ b/docs/platforms/javascript/common/install/loader.mdx @@ -23,18 +23,7 @@ notSupported: - javascript.svelte - javascript.sveltekit - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare - javascript.tanstackstart-react og_image: /og-images/platforms-javascript-common-install-loader.png diff --git a/docs/platforms/javascript/common/install/npm.mdx b/docs/platforms/javascript/common/install/npm.mdx index 89d918e7edb88d..36ccf1683d257b 100644 --- a/docs/platforms/javascript/common/install/npm.mdx +++ b/docs/platforms/javascript/common/install/npm.mdx @@ -24,18 +24,7 @@ notSupported: - javascript.svelte - javascript.sveltekit - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare - javascript.tanstackstart-react --- diff --git a/docs/platforms/javascript/common/logs/index.mdx b/docs/platforms/javascript/common/logs/index.mdx index 180611c3039598..d86bf91b03673c 100644 --- a/docs/platforms/javascript/common/logs/index.mdx +++ b/docs/platforms/javascript/common/logs/index.mdx @@ -209,7 +209,7 @@ Sentry.init({ Everything in Sentry is linked by trace. When you're viewing a log, you can jump to the parent trace to see the full request context. When you're viewing a trace, you can see all logs emitted during that operation. This connection makes it easy to move between high-level performance data and detailed diagnostic logs. - **[Traces](/product/trace-explorer/)** — Logs emitted during an active span automatically include `sentry.trace.parent_span_id`. Click through from any log to see the full trace, or filter logs by trace ID to see everything that happened during a specific request. -- **[Session Replay](/product/session-replay/)** — Logs include `sentry.replay_id` when a replay is active. Jump from a log entry directly to the replay to see what the user was doing when the log was emitted. +- **[Session Replay](/product/session-replay/)** — Logs include `sentry.replay_id` when a replay is active. Jump from a log entry directly to the replay to see what the user was doing when the log was emitted. - **[Errors](/product/issues/)** — Logs capture the journey leading up to a failure. When an error occurs, your logs show what data was processed, which code paths executed, and what state the system was in — context that stack traces alone can't provide. ## Best Practices @@ -228,6 +228,6 @@ Any attributes set via `Sentry.setAttribute()` / `Sentry.setAttributes()` (or di ## Related Features - Tracing — Logs are automatically linked to traces, so you can see logs in the context of the request or operation that produced them. -- Session Replay — Logs are automatically linked to replays, letting you jump from a log entry to see what the user was doing. +- Session Replay — Logs are automatically linked to replays, letting you jump from a log entry to see what the user was doing. - Error Monitoring — Use logs to add diagnostic context that helps you understand what led to an error. - Attributes — Set attributes once and have them automatically included on all your logs. diff --git a/docs/platforms/javascript/common/mcp-monitoring/index.mdx b/docs/platforms/javascript/common/mcp-monitoring/index.mdx index 626f8ead3a059e..21e92220e82437 100644 --- a/docs/platforms/javascript/common/mcp-monitoring/index.mdx +++ b/docs/platforms/javascript/common/mcp-monitoring/index.mdx @@ -6,16 +6,7 @@ sidebar_section: features description: "Monitor MCP server tool executions, prompt retrievals, resource access, and errors." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.bun - javascript.deno - javascript.nextjs diff --git a/docs/platforms/javascript/common/metrics/index.mdx b/docs/platforms/javascript/common/metrics/index.mdx index eb57dbb9366141..9b970b70738f8b 100644 --- a/docs/platforms/javascript/common/metrics/index.mdx +++ b/docs/platforms/javascript/common/metrics/index.mdx @@ -34,7 +34,7 @@ With [Sentry's Application Metrics](/product/metrics/), you can send counters, g ## Integrations - + - `elementTimingIntegration` diff --git a/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx b/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx index 3d8c20fa8407eb..6993ebe9a5a323 100644 --- a/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx +++ b/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx @@ -5,16 +5,7 @@ sidebar_order: 8930 description: "Learn OpenTelemetry support in SDK 8.x" supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.bun --- diff --git a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx index 5a328e639c3547..5d9b072bf36d75 100644 --- a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx +++ b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx @@ -4,18 +4,8 @@ description: "Learn how to use your existing custom OpenTelemetry setup with Sen supported: - javascript.nextjs - javascript.node - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.nuxt - javascript.solidstart - javascript.sveltekit @@ -38,7 +28,7 @@ If you are looking to simply add individual OpenTelemetry instrumentation to you - + If you don't need the full `@sentry/node` SDK and want a simpler way to bridge your existing OpenTelemetry setup with Sentry, consider using lightweight mode with the OTLP integration instead. It requires significantly less manual wiring. diff --git a/docs/platforms/javascript/common/opentelemetry/index.mdx b/docs/platforms/javascript/common/opentelemetry/index.mdx index bd61e879180258..5a29a87b4bf4ca 100644 --- a/docs/platforms/javascript/common/opentelemetry/index.mdx +++ b/docs/platforms/javascript/common/opentelemetry/index.mdx @@ -6,18 +6,8 @@ sidebar_section: configuration supported: - javascript.nextjs - javascript.node - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.nuxt - javascript.solidstart - javascript.sveltekit diff --git a/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx b/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx index f76c923436b8a9..a15de7677c7a6b 100644 --- a/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx +++ b/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx @@ -4,18 +4,8 @@ description: "Learn how to use OpenTelemetry APIs with Sentry." supported: - javascript.nextjs - javascript.node - - javascript.aws-lambda - javascript.azure-functions - javascript.bun - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - - javascript.nitro - javascript.nuxt - javascript.solidstart - javascript.sveltekit diff --git a/docs/platforms/javascript/common/session-replay/configuration.mdx b/docs/platforms/javascript/common/session-replay/configuration.mdx index f401fae00884ce..6a3b003d116a25 100644 --- a/docs/platforms/javascript/common/session-replay/configuration.mdx +++ b/docs/platforms/javascript/common/session-replay/configuration.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare description: Learn about the general Session Replay configuration fields. og_image: /og-images/platforms-javascript-common-session-replay-configuration.png diff --git a/docs/platforms/javascript/common/session-replay/index.mdx b/docs/platforms/javascript/common/session-replay/index.mdx index f8ff311a547b1c..61180d903c4994 100644 --- a/docs/platforms/javascript/common/session-replay/index.mdx +++ b/docs/platforms/javascript/common/session-replay/index.mdx @@ -9,18 +9,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare description: "Learn how to enable Session Replay in your app if it is not already set up." --- diff --git a/docs/platforms/javascript/common/session-replay/issue-types.mdx b/docs/platforms/javascript/common/session-replay/issue-types.mdx index f4501e0c4e41af..dc9261c7a37b8a 100644 --- a/docs/platforms/javascript/common/session-replay/issue-types.mdx +++ b/docs/platforms/javascript/common/session-replay/issue-types.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare description: Learn about the Issue types that Session Replay can detect. og_image: /og-images/platforms-javascript-common-session-replay-issue-types.png diff --git a/docs/platforms/javascript/common/session-replay/privacy.mdx b/docs/platforms/javascript/common/session-replay/privacy.mdx index 225b15da33adce..df61c80edb36ae 100644 --- a/docs/platforms/javascript/common/session-replay/privacy.mdx +++ b/docs/platforms/javascript/common/session-replay/privacy.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare description: Configuring Session Replay to maintain user and data privacy. customCanonicalTag: /platforms/javascript/session-replay/privacy/ diff --git a/docs/platforms/javascript/common/session-replay/troubleshooting.mdx b/docs/platforms/javascript/common/session-replay/troubleshooting.mdx index 148ae37550a79c..a8de607580b714 100644 --- a/docs/platforms/javascript/common/session-replay/troubleshooting.mdx +++ b/docs/platforms/javascript/common/session-replay/troubleshooting.mdx @@ -8,18 +8,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare excerpt: "" description: "Troubleshooting Session Replay-specific Issues" diff --git a/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx b/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx index ce6176693b1c7a..fa54cca3307794 100644 --- a/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx +++ b/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx @@ -7,18 +7,7 @@ notSupported: - javascript.bun - javascript.deno - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.elysia - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.cloudflare description: "Learn about customizing sessions with the Session Replay SDK." --- diff --git a/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx b/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx index 2f7a209f2ff4a7..589d9a63530919 100644 --- a/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx +++ b/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx @@ -4,17 +4,7 @@ description: "Learn about publicly hosting your source maps, including how to ad sidebar_order: 10 notSupported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs - javascript.nextjs - javascript.astro - javascript.nuxt diff --git a/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx b/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx index 0652af1d6d7817..f05621ef0cd125 100644 --- a/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx +++ b/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx @@ -4,17 +4,8 @@ sidebar_order: 80 notSupported: - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs + --- If your frontend and backend are hosted on different domains (for example, your frontend is on `https://example.com` and your backend is on `https://api.example.com`), you need to configure your backend [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) headers to prevent requests from being blocked by the browser. diff --git a/docs/platforms/javascript/common/tracing/index.mdx b/docs/platforms/javascript/common/tracing/index.mdx index 9559d4acb80ac9..96300394bff917 100644 --- a/docs/platforms/javascript/common/tracing/index.mdx +++ b/docs/platforms/javascript/common/tracing/index.mdx @@ -15,7 +15,7 @@ With [tracing](/product/dashboards/sentry-dashboards/), Sentry automatically tra If you’re adopting Tracing in a high-throughput environment, we recommend testing prior to deployment to ensure that your service’s performance characteristics maintain expectations. - + Sentry can integrate with OpenTelemetry. You can find more information about it @@ -55,7 +55,7 @@ You can find more in-depth explanations and examples about sampling configuratio Sentry captures distributed traces consisting of transactions and spans, which measure individual services and individual operations within those services, respectively. Learn more about our model in [Distributed Tracing](/concepts/key-terms/tracing/distributed-tracing/). - + ## Agent Tracing @@ -115,7 +115,7 @@ You can also manually start spans to instrument specific parts of your code. Thi - Sending Span Metrics: Learn how to capture metrics on your spans - + ## Replay Linking @@ -153,7 +153,7 @@ Instead, neither `tracesSampleRate` nor `tracesSampler` should be defined in you ## Related Features -- Session Replay — Traces appear in the Replay timeline, showing performance data alongside the user's actions. +- Session Replay — Traces appear in the Replay timeline, showing performance data alongside the user's actions. - Logs — Logs emitted during a trace are automatically linked, giving you diagnostic context for each operation. ## Tracing Next Steps diff --git a/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx b/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx index ec12c12f8a3ada..e0b8b4cee29c5e 100644 --- a/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx +++ b/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx @@ -4,16 +4,7 @@ sidebar_order: 1000 description: "Learn how to manually instrument your code to use Sentry's Cache module." supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.bun - javascript.deno - javascript.nextjs diff --git a/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx b/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx index 97b347cdeea182..47dfc4c0d30fa1 100644 --- a/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx +++ b/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx @@ -4,16 +4,7 @@ description: "Learn how to manually instrument your code to use Sentry's Queues sidebar_order: 20 supported: - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nestjs - javascript.bun - javascript.deno - javascript.nextjs diff --git a/docs/platforms/javascript/common/troubleshooting/index.mdx b/docs/platforms/javascript/common/troubleshooting/index.mdx index 82bcb068599f40..7fe07cf430f482 100644 --- a/docs/platforms/javascript/common/troubleshooting/index.mdx +++ b/docs/platforms/javascript/common/troubleshooting/index.mdx @@ -172,7 +172,7 @@ To fix this, change the `tracePropagationTargets` option during SDK initializati - + When using ESM, by default all packages are wrapped under the hood by [import-in-the-middle](https://www.npmjs.com/package/import-in-the-middle). diff --git a/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx b/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx index fac6fe5e3dd93e..7e4e3ba24cf917 100644 --- a/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx +++ b/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx @@ -5,17 +5,8 @@ notSupported: - javascript.capacitor - javascript.cordova - javascript.node - - javascript.aws-lambda - javascript.azure-functions - - javascript.connect - - javascript.express - - javascript.fastify - - javascript.gcp-functions - - javascript.hapi - - javascript.hono - - javascript.koa - - javascript.nitro - - javascript.nestjs + --- Sentry's latest JavaScript SDKs require ES2020 compatibility. The minimum supported browser versions are: diff --git a/docs/platforms/javascript/common/user-feedback/configuration/index.mdx b/docs/platforms/javascript/common/user-feedback/configuration/index.mdx index 7b334b228713d5..21b04182ba1399 100644 --- a/docs/platforms/javascript/common/user-feedback/configuration/index.mdx +++ b/docs/platforms/javascript/common/user-feedback/configuration/index.mdx @@ -5,7 +5,7 @@ description: Learn about general User Feedback configuration fields. og_image: /og-images/platforms-javascript-common-user-feedback-configuration.png --- - + ## User Feedback Widget diff --git a/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx b/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx index 7121ae88d9905b..96a9753eaddb1e 100644 --- a/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx +++ b/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx @@ -14,7 +14,7 @@ In version 7 of our JavaScript SDK, User Feedback was released as a Beta integra - + ## User Feedback Widget diff --git a/docs/platforms/javascript/common/user-feedback/index.mdx b/docs/platforms/javascript/common/user-feedback/index.mdx index 9bf2284daf5c09..35ec165a3d1b6f 100644 --- a/docs/platforms/javascript/common/user-feedback/index.mdx +++ b/docs/platforms/javascript/common/user-feedback/index.mdx @@ -15,7 +15,7 @@ The User Feedback feature allows you to collect user feedback from anywhere insi feature. Lower versions may have limited functionality. - + ## User Feedback Widget diff --git a/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx b/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx index ee6011fa08dec8..fa9e8677ee5f96 100644 --- a/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx +++ b/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx @@ -8,7 +8,7 @@ Send test metrics from your app to verify that metrics are arriving in Sentry: - + In a Node.js runtime, you can use the [NodeRuntimeMetrics](/platforms/javascript/guides/node/configuration/integrations/noderuntimemetrics/) integration to automatically collect Node.js runtime health metrics. diff --git a/includes/quick-start-features-expandable.mdx b/includes/quick-start-features-expandable.mdx index b901ff291b4f6b..3dc2602a78f43e 100644 --- a/includes/quick-start-features-expandable.mdx +++ b/includes/quick-start-features-expandable.mdx @@ -27,7 +27,7 @@ import { FeatureInfo } from "sentry-docs/components/featureInfo"; - + - + diff --git a/includes/quick-start-locate-data-expandable.mdx b/includes/quick-start-locate-data-expandable.mdx index 8cca720f1e1683..d690ef718e14ca 100644 --- a/includes/quick-start-locate-data-expandable.mdx +++ b/includes/quick-start-locate-data-expandable.mdx @@ -27,7 +27,7 @@ import { FeatureInfo } from "sentry-docs/components/featureInfo"; - + - + diff --git a/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx b/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx index cb6da7d5b4f7f9..a3569973a9b78c 100644 --- a/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx +++ b/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx @@ -39,7 +39,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values. -If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. +If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. ### Using sentry-cli diff --git a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx index aa5af4955018b4..3e62b49ec0c083 100644 --- a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx +++ b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx @@ -328,7 +328,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values. -If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. +If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. #### Using sentry-cli diff --git a/platform-includes/sourcemaps/overview/javascript.capacitor.mdx b/platform-includes/sourcemaps/overview/javascript.capacitor.mdx index 2e80008f766408..7e921f06248163 100644 --- a/platform-includes/sourcemaps/overview/javascript.capacitor.mdx +++ b/platform-includes/sourcemaps/overview/javascript.capacitor.mdx @@ -50,7 +50,7 @@ If you used Create React App to set up your React application see our Sentry CLI. - + diff --git a/platform-includes/sourcemaps/overview/javascript.mdx b/platform-includes/sourcemaps/overview/javascript.mdx index 0461bec03fa66b..41d8c9a352334d 100644 --- a/platform-includes/sourcemaps/overview/javascript.mdx +++ b/platform-includes/sourcemaps/overview/javascript.mdx @@ -58,7 +58,7 @@ If you used Create React App to set up your React application see our Sentry CLI. - + diff --git a/platform-includes/sourcemaps/troubleshooting/javascript.mdx b/platform-includes/sourcemaps/troubleshooting/javascript.mdx index 0a478c5e54635b..612d5d21754d8a 100644 --- a/platform-includes/sourcemaps/troubleshooting/javascript.mdx +++ b/platform-includes/sourcemaps/troubleshooting/javascript.mdx @@ -131,17 +131,7 @@ Sometimes build scripts and plugins produce pre-compressed minified files (for e + @@ -11,7 +11,7 @@ If you can't find the tool of your choice in the list below, we recommend you ch - + From 3174cc572280e080adc8d2430b2987677798e6fc Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:58:29 +0000 Subject: [PATCH 3/6] fix(platforms): preserve guide support semantics Co-Authored-By: Francesco Gringl-Novy --- .../common/agent-tracing/anthropic.mdx | 13 ++++++------- .../javascript/common/agent-tracing/eve.mdx | 13 +++++++++++++ .../javascript/common/agent-tracing/flue.mdx | 19 ++++++++++++++++--- .../common/agent-tracing/google-genai.mdx | 13 ++++++------- .../javascript/common/agent-tracing/index.mdx | 15 ++++----------- .../common/agent-tracing/langchain.mdx | 13 ++++++------- .../common/agent-tracing/langgraph.mdx | 13 ++++++------- .../agent-tracing/manual-instrumentation.mdx | 1 + .../common/agent-tracing/mastra.mdx | 4 ++++ .../common/agent-tracing/openai.mdx | 15 +++++++-------- .../common/agent-tracing/vercelai.mdx | 1 + .../common/best-practices/index.mdx | 3 +++ .../common/best-practices/micro-frontends.mdx | 3 +++ .../multiple-sentry-instances.mdx | 3 +++ .../common/best-practices/offline-caching.mdx | 3 +++ .../best-practices/shared-environments.mdx | 3 +++ .../common/best-practices/web-workers.mdx | 3 +++ .../common/configuration/async-context.mdx | 3 +++ .../common/configuration/event-loop-block.mdx | 3 +++ .../configuration/integrations/amqplib.mdx | 5 +++++ .../common/configuration/integrations/anr.mdx | 4 ++++ .../integrations/breadcrumbs.mdx | 5 +++++ .../integrations/browserapierrors.mdx | 5 +++++ .../integrations/browserprofiling.mdx | 5 +++++ .../integrations/browsersession.mdx | 5 +++++ .../integrations/browsertracing.mdx | 5 +++++ .../integrations/bunruntimemetrics.mdx | 3 +++ .../configuration/integrations/bunserver.mdx | 3 +++ .../integrations/childProcess.mdx | 4 ++++ .../configuration/integrations/connect.mdx | 10 ++++++++++ .../configuration/integrations/console.mdx | 5 +++++ .../integrations/contextlines.mdx | 5 +++++ .../configuration/integrations/dataloader.mdx | 5 +++++ .../integrations/elementtiming.mdx | 5 +++++ .../integrations/event-loop-block.mdx | 4 ++++ .../configuration/integrations/fastify.mdx | 11 +++++++++++ .../configuration/integrations/firebase.mdx | 12 ++++++++++++ .../common/configuration/integrations/fs.mdx | 5 +++++ .../integrations/genericpool.mdx | 5 +++++ .../integrations/globalhandlers.mdx | 5 +++++ .../configuration/integrations/graphql.mdx | 5 +++++ .../integrations/graphqlclient.mdx | 5 +++++ .../configuration/integrations/hapi.mdx | 11 +++++++++++ .../configuration/integrations/http.mdx | 5 +++++ .../configuration/integrations/httpclient.mdx | 5 +++++ .../integrations/httpcontext.mdx | 5 +++++ .../configuration/integrations/kafka.mdx | 5 +++++ .../configuration/integrations/knex.mdx | 5 +++++ .../common/configuration/integrations/koa.mdx | 11 +++++++++++ .../integrations/launchdarkly.mdx | 5 +++++ .../integrations/localvariables.mdx | 4 ++++ .../integrations/lrumemoizer.mdx | 5 +++++ .../integrations/modulemetadata.mdx | 5 +++++ .../configuration/integrations/modules.mdx | 5 +++++ .../configuration/integrations/mongo.mdx | 5 +++++ .../configuration/integrations/mongoose.mdx | 5 +++++ .../configuration/integrations/mysql.mdx | 5 +++++ .../configuration/integrations/mysql2.mdx | 5 +++++ .../configuration/integrations/nest.mdx | 11 +++++++++++ .../integrations/nodecontext.mdx | 5 +++++ .../configuration/integrations/nodefetch.mdx | 5 +++++ .../integrations/nodeprofiling.mdx | 4 ++++ .../integrations/noderuntimemetrics.mdx | 4 ++++ .../integrations/onuncaughtexception.mdx | 5 +++++ .../integrations/openfeature.mdx | 5 +++++ .../configuration/integrations/pino.mdx | 4 ++++ .../configuration/integrations/postgres.mdx | 5 +++++ .../configuration/integrations/prisma.mdx | 5 +++++ .../integrations/prisma__v8.x.mdx | 5 +++++ .../configuration/integrations/redis.mdx | 5 +++++ .../configuration/integrations/replay.mdx | 4 ++++ .../integrations/replaycanvas.mdx | 4 ++++ .../integrations/reportingobserver.mdx | 5 +++++ .../integrations/requestdata.mdx | 5 +++++ .../configuration/integrations/statsig.mdx | 7 +++++++ .../configuration/integrations/supabase.mdx | 5 +++++ .../configuration/integrations/tedious.mdx | 5 +++++ .../configuration/integrations/trpc.mdx | 5 +++++ .../integrations/unhandledrejection.mdx | 5 +++++ .../configuration/integrations/unleash.mdx | 5 +++++ .../configuration/integrations/webworker.mdx | 5 +++++ .../common/configuration/options.mdx | 6 +++--- .../common/configuration/transports.mdx | 3 +++ .../common/configuration/tree-shaking.mdx | 6 ++---- .../javascript/common/crons/index.mdx | 7 +++++-- .../common/crons/troubleshooting.mdx | 5 +++++ .../data-management/data-collected/index.mdx | 2 +- .../request-isolation/index.mdx | 4 ++++ docs/platforms/javascript/common/index.mdx | 12 ++++++------ .../javascript/common/install/commonjs.mdx | 6 ++++++ .../common/install/esm-without-import.mdx | 6 ++++++ .../javascript/common/install/esm.mdx | 6 ++++++ .../javascript/common/install/esm__v8.x.mdx | 6 ++++++ .../javascript/common/install/index.mdx | 1 + .../common/install/late-initialization.mdx | 6 ++++++ .../javascript/common/install/lightweight.mdx | 6 ++++++ .../javascript/common/install/loader.mdx | 3 +++ .../javascript/common/install/npm.mdx | 4 ++++ .../javascript/common/logs/index.mdx | 4 ++-- .../common/mcp-monitoring/index.mdx | 5 +++++ .../javascript/common/metrics/index.mdx | 2 +- .../common/migration/v10-to-v11/index.mdx | 6 +++--- .../migration/v7-to-v8/v8-opentelemetry.mdx | 5 +++++ .../javascript/common/migration/v8-to-v9.mdx | 6 +++--- .../common/opentelemetry/custom-setup.mdx | 8 +++++--- .../javascript/common/opentelemetry/index.mdx | 2 ++ .../using-opentelemetry-apis.mdx | 2 ++ .../javascript/common/profiling/index.mdx | 4 ++++ .../common/session-replay/configuration.mdx | 3 +++ .../common/session-replay/index.mdx | 5 ++++- .../common/session-replay/issue-types.mdx | 3 +++ .../common/session-replay/privacy.mdx | 3 +++ .../common/session-replay/troubleshooting.mdx | 3 +++ .../session-replay/understanding-sessions.mdx | 3 +++ .../sourcemaps/uploading/hosting-publicly.mdx | 4 ++++ .../dealing-with-cors-issues/index.mdx | 3 +++ .../javascript/common/tracing/index.mdx | 6 +++--- .../tracing/instrumentation/caches-module.mdx | 7 ++++++- .../tracing/instrumentation/queues-module.mdx | 5 +++++ .../troubleshooting/supported-browsers.mdx | 3 +++ .../user-feedback/configuration/index.mdx | 2 +- .../configuration/index__v7.x.mdx | 2 +- .../javascript/common/user-feedback/index.mdx | 2 +- ...quick-start-verify-metrics-splitlayout.mdx | 2 +- includes/quick-start-features-expandable.mdx | 2 +- .../quick-start-locate-data-expandable.mdx | 2 +- .../auto-session-tracking/javascript.mdx | 2 +- .../legacy-troubleshooting/javascript.mdx | 2 +- .../legacy-uploading-methods/javascript.mdx | 2 +- .../overview/javascript.capacitor.mdx | 2 +- .../sourcemaps/overview/javascript.mdx | 2 +- .../sourcemaps/troubleshooting/javascript.mdx | 11 +---------- .../sourcemaps/upload/primer/javascript.mdx | 4 ++-- 133 files changed, 591 insertions(+), 106 deletions(-) diff --git a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx index bc1f7f895e8d58..af4e5acac0440e 100644 --- a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx +++ b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx @@ -3,7 +3,6 @@ title: Anthropic description: "Adds instrumentation for the Anthropic SDK." sidebar_order: 22 supported: - - javascript.node - javascript.azure-functions - javascript.electron - javascript.nextjs @@ -13,7 +12,6 @@ supported: - javascript.react-router - javascript.remix - javascript.astro - - javascript.bun - javascript.tanstackstart-react - javascript.cloudflare - javascript @@ -24,6 +22,7 @@ supported: - javascript.solid - javascript.ember - javascript.gatsby + --- @@ -32,13 +31,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.anthropicAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -52,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -110,7 +109,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `anthropicAIIntegration` integration for **automatic instrumentation**: @@ -129,7 +128,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def - + Using the `instrumentAnthropicAiClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/eve.mdx b/docs/platforms/javascript/common/agent-tracing/eve.mdx index 2d578994b2251a..1a11f1987c6ec2 100644 --- a/docs/platforms/javascript/common/agent-tracing/eve.mdx +++ b/docs/platforms/javascript/common/agent-tracing/eve.mdx @@ -5,6 +5,19 @@ sidebar_order: 27 description: "Learn how to send Eve agent traces to Sentry over OTLP." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hapi + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro + --- [Eve](https://eve.dev/) is Vercel's filesystem-first framework for building durable backend AI agents on top of the Vercel AI SDK. Eve ships an official Sentry instrumentation that exports agent traces directly to Sentry's OTLP endpoint. You need to have a Sentry project set up before installing and configuring the OTLP. diff --git a/docs/platforms/javascript/common/agent-tracing/flue.mdx b/docs/platforms/javascript/common/agent-tracing/flue.mdx index 15b32971244b7f..3b8576a32d7645 100644 --- a/docs/platforms/javascript/common/agent-tracing/flue.mdx +++ b/docs/platforms/javascript/common/agent-tracing/flue.mdx @@ -6,6 +6,19 @@ description: "Learn how to send Flue agent traces, logs, and errors to Sentry." supported: - javascript.node - javascript.cloudflare +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hapi + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro + --- [Flue](https://flueframework.com/) is an open TypeScript framework for building AI agents, made by the Astro team. Flue ships an official Sentry blueprint that installs the Sentry SDK, wires Flue's OpenTelemetry instrumentation into it, and bridges Flue's runtime events to Sentry. You don't need to add Sentry calls to each agent or tool. @@ -16,7 +29,7 @@ With a valid `SENTRY_DSN`, Flue can send three connected signals to Sentry: - **Logs**: With `enableLogs: true` in the generated Sentry SDK configuration, every `log.info`, `log.warn`, and `log.error` call from your tools and hooks appears as Sentry Logs. When tracing is enabled, Sentry correlates these logs with the trace. - **Issues**: The generated bridge captures terminal failures, such as a failed prompt, skill, task, or shell operation, as Sentry error issues. Recovered tool errors remain diagnostic context on the trace when tracing is enabled and don't create issues. - + @@ -53,7 +66,7 @@ The generated module reads its configuration from environment variables. Only `S | `SENTRY_AI_RECORD_INPUTS` | `false` | Set to `true` to include prompts, system instructions, and tool definitions and arguments in spans. | | `SENTRY_AI_RECORD_OUTPUTS` | `false` | Set to `true` to include model output, tool results, and exception messages and stacks in spans. | - + ```bash {filename:.env} SENTRY_DSN="___PUBLIC_DSN___" @@ -91,7 +104,7 @@ Review the data your agent handles before you enable these options in production ## How It Works - + On Node.js, the generated `sentry.ts` calls `Sentry.init` at module scope. Sentry becomes the global OpenTelemetry tracer provider, so the spans from `@flue/opentelemetry` flow to Sentry without extra wiring. The following abridged example shows the core of the generated file. It omits helper definitions and the terminal-failure capture implementation, so use the file generated by the blueprint rather than copying this example: diff --git a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx index 0304cc17350f80..244ddd042def30 100644 --- a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx @@ -3,7 +3,6 @@ title: Google Gen AI description: "Adds instrumentation for Google Gen AI SDK." sidebar_order: 23 supported: - - javascript.node - javascript.azure-functions - javascript.electron - javascript.nextjs @@ -13,7 +12,6 @@ supported: - javascript.react-router - javascript.remix - javascript.astro - - javascript.bun - javascript.tanstackstart-react - javascript.cloudflare - javascript @@ -24,6 +22,7 @@ supported: - javascript.solid - javascript.ember - javascript.gatsby + --- @@ -32,13 +31,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.googleGenAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -52,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -106,7 +105,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `googleGenAIIntegration` integration for **automatic instrumentation**: @@ -125,7 +124,7 @@ Sentry.init({ - + Using the `instrumentGoogleGenAIClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/index.mdx b/docs/platforms/javascript/common/agent-tracing/index.mdx index 85bc651ac1bb72..84fc8a4940a980 100644 --- a/docs/platforms/javascript/common/agent-tracing/index.mdx +++ b/docs/platforms/javascript/common/agent-tracing/index.mdx @@ -121,29 +121,22 @@ Pick your AI stack. Some libraries auto-instrument; others need a short setup to: "/agent-tracing/mastra/", title: "Mastra", icon: "mastra", - supported: [ - "javascript.astro", - "javascript.azure-functions", - "javascript.nextjs", - "javascript.node", - "javascript.nuxt", - "javascript.remix", - "javascript.solidstart", - "javascript.sveltekit", - "javascript.tanstackstart-react", - ], + supported: ["javascript.astro", "javascript.azure-functions", "javascript.nextjs", "javascript.node", "javascript.nuxt", "javascript.remix", "javascript.solidstart", "javascript.sveltekit", "javascript.tanstackstart-react"], + notSupported: ["javascript.firebase", "javascript.nitro"], }, { to: "/agent-tracing/eve/", title: "Eve", icon: "eve", supported: ["javascript.node"], + notSupported: ["javascript.aws-lambda", "javascript.connect", "javascript.express", "javascript.fastify", "javascript.firebase", "javascript.gcp-functions", "javascript.hapi", "javascript.hono", "javascript.koa", "javascript.nestjs", "javascript.nitro"], }, { to: "/agent-tracing/flue/", title: "Flue", icon: "flue", supported: ["javascript.node", "javascript.cloudflare"], + notSupported: ["javascript.aws-lambda", "javascript.connect", "javascript.express", "javascript.fastify", "javascript.firebase", "javascript.gcp-functions", "javascript.hapi", "javascript.hono", "javascript.koa", "javascript.nestjs", "javascript.nitro"], }, ]} /> diff --git a/docs/platforms/javascript/common/agent-tracing/langchain.mdx b/docs/platforms/javascript/common/agent-tracing/langchain.mdx index c876c48f9264f4..ec0c8237f43083 100644 --- a/docs/platforms/javascript/common/agent-tracing/langchain.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langchain.mdx @@ -3,7 +3,6 @@ title: LangChain description: "Adds instrumentation for LangChain." sidebar_order: 24 supported: - - javascript.node - javascript.azure-functions - javascript.electron - javascript.nextjs @@ -13,7 +12,6 @@ supported: - javascript.react-router - javascript.remix - javascript.astro - - javascript.bun - javascript.tanstackstart-react - javascript.cloudflare - javascript @@ -24,6 +22,7 @@ supported: - javascript.solid - javascript.ember - javascript.gatsby + --- @@ -32,13 +31,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.langChainIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -52,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -110,7 +109,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `langChainIntegration` integration for **automatic instrumentation**: @@ -129,7 +128,7 @@ Sentry.init({ - + Using the `createLangChainCallbackHandler` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx index 5c45b270ed7a6c..65478b64b88839 100644 --- a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx @@ -3,7 +3,6 @@ title: LangGraph description: "Adds instrumentation for the LangGraph SDK." sidebar_order: 25 supported: - - javascript.node - javascript.azure-functions - javascript.electron - javascript.nextjs @@ -13,7 +12,6 @@ supported: - javascript.react-router - javascript.remix - javascript.astro - - javascript.bun - javascript.tanstackstart-react - javascript.cloudflare - javascript @@ -24,6 +22,7 @@ supported: - javascript.solid - javascript.ember - javascript.gatsby + --- @@ -32,13 +31,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.langGraphIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -52,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -132,7 +131,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `langGraphIntegration` integration for **automatic instrumentation**: @@ -151,7 +150,7 @@ Sentry.init({ - + Using the `instrumentLangGraph` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx b/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx index dbe19706bf3b79..883699d680861f 100644 --- a/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx +++ b/docs/platforms/javascript/common/agent-tracing/manual-instrumentation.mdx @@ -19,6 +19,7 @@ supported: - javascript.solidstart - javascript.sveltekit - javascript.tanstackstart-react + --- If your AI library does not have automatic instrumentation, create spans manually. Spans need well-defined names and data attributes so agent data shows up correctly. diff --git a/docs/platforms/javascript/common/agent-tracing/mastra.mdx b/docs/platforms/javascript/common/agent-tracing/mastra.mdx index be7f8ed97d9047..d9880e112b5d6e 100644 --- a/docs/platforms/javascript/common/agent-tracing/mastra.mdx +++ b/docs/platforms/javascript/common/agent-tracing/mastra.mdx @@ -13,6 +13,10 @@ supported: - javascript.sveltekit - javascript.remix - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- [Mastra](https://mastra.ai/) is a framework for building AI-powered applications and agents with a modern TypeScript stack. The Mastra Sentry Exporter sends tracing data to Sentry using OpenTelemetry semantic conventions, providing insights into model performance, token usage, and tool executions. diff --git a/docs/platforms/javascript/common/agent-tracing/openai.mdx b/docs/platforms/javascript/common/agent-tracing/openai.mdx index 57b3d259d84c51..9ab7be42f6da74 100644 --- a/docs/platforms/javascript/common/agent-tracing/openai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/openai.mdx @@ -3,7 +3,6 @@ title: OpenAI description: "Adds instrumentation for the OpenAI SDK." sidebar_order: 21 supported: - - javascript.node - javascript.azure-functions - javascript.electron - javascript.nextjs @@ -13,7 +12,6 @@ supported: - javascript.react-router - javascript.remix - javascript.astro - - javascript.bun - javascript.tanstackstart-react - javascript.cloudflare - javascript @@ -24,6 +22,7 @@ supported: - javascript.solid - javascript.ember - javascript.gatsby + --- @@ -32,13 +31,13 @@ supported: - + ## Automatic Instrumentation _Import name: `Sentry.openAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, **[wrap the client](#instrument-the-client)** with `instrumentOpenAiClient` instead. @@ -52,7 +51,7 @@ supported: - + ## Instrument the Client @@ -155,7 +154,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def **Usage** - + Using the `openAIIntegration` integration for **automatic instrumentation**: @@ -174,7 +173,7 @@ Sentry.init({ - + Using the `instrumentOpenAiClient` wrapper: @@ -203,7 +202,7 @@ Instrumented calls record model, token usage, latency, and (when enabled) inputs The OpenAI SDK does **not** run your tools — your application does, after the model returns `tool_calls`. Because of that, `instrumentOpenAiClient` / `openAIIntegration` do **not** create `gen_ai.execute_tool` spans for local tool handlers. - + To get the full agent tree (`gen_ai.invoke_agent` → `gen_ai.chat` + `gen_ai.execute_tool`), wrap your tool loop with manual instrumentation. diff --git a/docs/platforms/javascript/common/agent-tracing/vercelai.mdx b/docs/platforms/javascript/common/agent-tracing/vercelai.mdx index 3bc2a3e7e0c5f5..587dc2a28bdb45 100644 --- a/docs/platforms/javascript/common/agent-tracing/vercelai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/vercelai.mdx @@ -18,6 +18,7 @@ supported: - javascript.solidstart - javascript.sveltekit - javascript.tanstackstart-react + --- _Import name: `Sentry.vercelAIIntegration`_ diff --git a/docs/platforms/javascript/common/best-practices/index.mdx b/docs/platforms/javascript/common/best-practices/index.mdx index d197b2a2a6bebf..a79d6e1cfbb38c 100644 --- a/docs/platforms/javascript/common/best-practices/index.mdx +++ b/docs/platforms/javascript/common/best-practices/index.mdx @@ -3,6 +3,9 @@ title: Special Use Cases description: "Learn how to set up Sentry for several specific use cases with these best practice guides." sidebar_order: 18 sidebar_section: configuration +supported: + - javascript + - javascript.firebase notSupported: - javascript.node - javascript.azure-functions diff --git a/docs/platforms/javascript/common/best-practices/micro-frontends.mdx b/docs/platforms/javascript/common/best-practices/micro-frontends.mdx index 7cec673318a720..f940103b6e3410 100644 --- a/docs/platforms/javascript/common/best-practices/micro-frontends.mdx +++ b/docs/platforms/javascript/common/best-practices/micro-frontends.mdx @@ -2,6 +2,9 @@ title: Micro Frontends sidebar_order: 200 description: Learn how to identify the source of errors and route events to different Sentry projects when using micro frontends or module federation. +supported: + - javascript + - javascript.firebase notSupported: - javascript.node - javascript.azure-functions diff --git a/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx b/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx index 65b2b54d776028..c7b892823b47cb 100644 --- a/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx +++ b/docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx @@ -2,6 +2,9 @@ title: Multiple Sentry Instances sidebar_order: 300 description: Learn how to manage several Sentry instances by creating your own clients. +supported: + - javascript + - javascript.firebase notSupported: - javascript.node - javascript.azure-functions diff --git a/docs/platforms/javascript/common/best-practices/offline-caching.mdx b/docs/platforms/javascript/common/best-practices/offline-caching.mdx index 50430b0042e1ee..63bb2ce00f1c75 100644 --- a/docs/platforms/javascript/common/best-practices/offline-caching.mdx +++ b/docs/platforms/javascript/common/best-practices/offline-caching.mdx @@ -2,6 +2,9 @@ title: Offline Caching description: "Learn how to cache Sentry events while being offline." sidebar_order: 400 +supported: + - javascript + - javascript.firebase notSupported: - javascript.capacitor - javascript.cordova diff --git a/docs/platforms/javascript/common/best-practices/shared-environments.mdx b/docs/platforms/javascript/common/best-practices/shared-environments.mdx index 500036563407fa..5efa8b5a3ad783 100644 --- a/docs/platforms/javascript/common/best-practices/shared-environments.mdx +++ b/docs/platforms/javascript/common/best-practices/shared-environments.mdx @@ -2,6 +2,9 @@ title: Shared Environments / Browser Extensions sidebar_order: 50 description: Learn how to use Sentry in shared environments (for example in browser extensions or VSCode extensions). +supported: + - javascript + - javascript.firebase notSupported: - javascript.node - javascript.azure-functions diff --git a/docs/platforms/javascript/common/best-practices/web-workers.mdx b/docs/platforms/javascript/common/best-practices/web-workers.mdx index 5fe2fa7fe2b096..6f32778d11f430 100644 --- a/docs/platforms/javascript/common/best-practices/web-workers.mdx +++ b/docs/platforms/javascript/common/best-practices/web-workers.mdx @@ -5,6 +5,8 @@ keywords: ["webworkers"] sidebar_order: 9000 supported: - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.node @@ -12,6 +14,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- Sentry's Browser SDK supports the [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). diff --git a/docs/platforms/javascript/common/configuration/async-context.mdx b/docs/platforms/javascript/common/configuration/async-context.mdx index 4d451ad782d317..d0d750fbf8a2df 100644 --- a/docs/platforms/javascript/common/configuration/async-context.mdx +++ b/docs/platforms/javascript/common/configuration/async-context.mdx @@ -5,6 +5,9 @@ description: "Learn more about how to isolate Sentry scope and breadcrumbs acros supported: - javascript.node - javascript.azure-functions +notSupported: + - javascript.firebase + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/event-loop-block.mdx b/docs/platforms/javascript/common/configuration/event-loop-block.mdx index 8b9373b0d480ca..9ad907d0ed499f 100644 --- a/docs/platforms/javascript/common/configuration/event-loop-block.mdx +++ b/docs/platforms/javascript/common/configuration/event-loop-block.mdx @@ -14,6 +14,9 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro keywords: - event loop block - anr diff --git a/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx b/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx index 707410d14308dd..7d969ac6898188 100644 --- a/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/amqplib.mdx @@ -16,6 +16,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/anr.mdx b/docs/platforms/javascript/common/configuration/integrations/anr.mdx index a715e08ff0f00c..da127d9865a898 100644 --- a/docs/platforms/javascript/common/configuration/integrations/anr.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/anr.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx b/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx index dc0c893fd59aa9..e785491a5b5fcb 100644 --- a/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/breadcrumbs.mdx @@ -2,12 +2,17 @@ title: "Breadcrumbs Integration" sidebar_title: "Breadcrumbs" description: "Wraps native browser APIs to capture breadcrumbs. (default)" +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.node - javascript.azure-functions - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx b/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx index f98b4ab0d7b677..9e12da42035326 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx @@ -1,6 +1,10 @@ --- title: BrowserApiErrors description: "Wraps native time and events APIs (`setTimeout`, `setInterval`, `requestAnimationFrame`, `addEventListener/removeEventListener`) in `try/catch` blocks to handle async exceptions. (default)" +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.electron - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx b/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx index 80eccc89fdfa21..42b0b0f9c31df0 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browserprofiling.mdx @@ -1,6 +1,10 @@ --- title: BrowserProfiling description: "Capture profiling data for the Browser." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.capacitor @@ -9,6 +13,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx b/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx index 1dc7cb473e2f37..c514e58d74c69e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browsersession.mdx @@ -1,6 +1,10 @@ --- title: BrowserSession description: "Track healthy Sessions in the Browser." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx b/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx index 8262a3d5165f28..4686362a731228 100644 --- a/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/browsertracing.mdx @@ -1,6 +1,10 @@ --- title: BrowserTracing description: "Capture performance data for the Browser." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/bunruntimemetrics.mdx b/docs/platforms/javascript/common/configuration/integrations/bunruntimemetrics.mdx index 0ae3204637b48a..114f3077140462 100644 --- a/docs/platforms/javascript/common/configuration/integrations/bunruntimemetrics.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/bunruntimemetrics.mdx @@ -3,6 +3,9 @@ title: BunRuntimeMetrics description: "Collect Bun runtime health metrics such as memory usage, CPU utilization, and event loop utilization." supported: - javascript.bun +notSupported: + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/bunserver.mdx b/docs/platforms/javascript/common/configuration/integrations/bunserver.mdx index 73f5fb19d7ac36..9c6f6a01f4149e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/bunserver.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/bunserver.mdx @@ -3,6 +3,9 @@ title: BunServer description: "Instruments Bun.serve to automatically create transactions and capture errors. (default)" supported: - javascript.bun +notSupported: + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx index f3e5dc59842170..005197bfc7e229 100644 --- a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx @@ -12,6 +12,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/connect.mdx b/docs/platforms/javascript/common/configuration/integrations/connect.mdx index c13d986ebc629e..d60c8a1a4f5afc 100644 --- a/docs/platforms/javascript/common/configuration/integrations/connect.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/connect.mdx @@ -3,6 +3,16 @@ title: Connect description: "Adds performance instrumentation for Connect. (default)" supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/integrations/console.mdx b/docs/platforms/javascript/common/configuration/integrations/console.mdx index a03a040752cfe8..0045ac07472069 100644 --- a/docs/platforms/javascript/common/configuration/integrations/console.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/console.mdx @@ -17,6 +17,11 @@ supported: - javascript.deno - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx index 8ce92f5a0161a9..09ec4b9d80cf90 100644 --- a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx @@ -1,6 +1,10 @@ --- title: ContextLines description: "Adds source code from inline JavaScript of the current page's HTML." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- _Import name: `Sentry.contextLinesIntegration`_ diff --git a/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx b/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx index 8d1588acb242bc..17eaf41c46efc0 100644 --- a/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/dataloader.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx b/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx index a4b05c802585bd..871606e089fce2 100644 --- a/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/elementtiming.mdx @@ -2,6 +2,10 @@ title: ElementTiming description: "Collect Element Timing API data as Sentry metrics." beta: true +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.capacitor @@ -10,6 +14,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx b/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx index 337eba62717a7d..123eda94032a35 100644 --- a/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/event-loop-block.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx index d08fe7ce8a1a06..a99bf4715d205a 100644 --- a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx @@ -3,6 +3,17 @@ title: Fastify description: "Adds performance instrumentation for Fastify. (default)" supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.firebase + - javascript.gcp-functions + - javascript.hapi + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/integrations/firebase.mdx b/docs/platforms/javascript/common/configuration/integrations/firebase.mdx index f656a191077a71..6853741d406036 100644 --- a/docs/platforms/javascript/common/configuration/integrations/firebase.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/firebase.mdx @@ -5,6 +5,18 @@ supported: - javascript.node - javascript.astro - javascript.bun +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.hapi + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/fs.mdx b/docs/platforms/javascript/common/configuration/integrations/fs.mdx index 323b3f287ae029..d839529c64c78d 100644 --- a/docs/platforms/javascript/common/configuration/integrations/fs.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/fs.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx b/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx index 07bb71e4b32974..c8bb2445611b75 100644 --- a/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/genericpool.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx b/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx index a823fc81a3fc86..869e57f69e9898 100644 --- a/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/globalhandlers.mdx @@ -1,11 +1,16 @@ --- title: GlobalHandlers description: "Attaches global handlers to capture uncaught exceptions and unhandled rejections. (default)" +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.electron - javascript.node - javascript.azure-functions - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/graphql.mdx b/docs/platforms/javascript/common/configuration/integrations/graphql.mdx index 26e6971cb9e304..4b22efb5411aa5 100644 --- a/docs/platforms/javascript/common/configuration/integrations/graphql.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/graphql.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx b/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx index 6eb788cb9f3bd9..35e469b71068c3 100644 --- a/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/graphqlclient.mdx @@ -1,12 +1,17 @@ --- title: GraphQLClient description: "Enhance spans and breadcrumbs with data from GraphQL requests." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.node - javascript.azure-functions - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/hapi.mdx b/docs/platforms/javascript/common/configuration/integrations/hapi.mdx index 551f1cf9f9dc94..bc58b5e3a86d7e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/hapi.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/hapi.mdx @@ -3,6 +3,17 @@ title: Hapi description: "Adds performance instrumentation for Hapi. (default)" supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hono + - javascript.koa + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/integrations/http.mdx b/docs/platforms/javascript/common/configuration/integrations/http.mdx index 52320dbb7ed62f..bead33c3f7ad29 100644 --- a/docs/platforms/javascript/common/configuration/integrations/http.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/http.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx b/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx index 2c73089888a2ea..33863317b24d78 100644 --- a/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/httpclient.mdx @@ -1,12 +1,17 @@ --- title: HttpClient description: "Captures errors on failed requests from Fetch and XHR and attaches request and response information." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.node - javascript.azure-functions - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx b/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx index e60813a85f1e56..5a25d277fecf15 100644 --- a/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/httpcontext.mdx @@ -1,6 +1,10 @@ --- title: HttpContext description: "Attaches HTTP request information, such as URL, user-agent, referrer, and other headers to the event. (default)" +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.electron - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/kafka.mdx b/docs/platforms/javascript/common/configuration/integrations/kafka.mdx index c36db362d30308..b9b0dac343d5df 100644 --- a/docs/platforms/javascript/common/configuration/integrations/kafka.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/kafka.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/knex.mdx b/docs/platforms/javascript/common/configuration/integrations/knex.mdx index 132fe760aee59c..6de18f277ca70b 100644 --- a/docs/platforms/javascript/common/configuration/integrations/knex.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/knex.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/koa.mdx b/docs/platforms/javascript/common/configuration/integrations/koa.mdx index 89c5429c95ce99..3cb293ffa13b9f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/koa.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/koa.mdx @@ -3,6 +3,17 @@ title: Koa description: "Adds performance instrumentation for Koa. (default)" supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hapi + - javascript.hono + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx index cb56847496d222..2f9a338a7f4075 100644 --- a/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx @@ -1,6 +1,10 @@ --- title: LaunchDarkly description: "Learn how to use Sentry with LaunchDarkly." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.azure-functions - javascript.bun @@ -11,6 +15,7 @@ notSupported: - javascript.electron - javascript.node - javascript.wasm + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx b/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx index 43512651a27c57..e1456229cf9481 100644 --- a/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/localvariables.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx b/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx index c742133b03938f..3a16cb35b3ff35 100644 --- a/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/lrumemoizer.mdx @@ -16,6 +16,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx b/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx index 749940bea0f6aa..87a2c1dd29b725 100644 --- a/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/modulemetadata.mdx @@ -1,6 +1,10 @@ --- title: ModuleMetadata description: "Adds module metadata to stack frames." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.electron - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.bun - javascript.cloudflare + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/modules.mdx b/docs/platforms/javascript/common/configuration/integrations/modules.mdx index 4c0570366a607b..c5dd14e0440e0c 100644 --- a/docs/platforms/javascript/common/configuration/integrations/modules.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/modules.mdx @@ -16,6 +16,11 @@ supported: - javascript.deno - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/mongo.mdx b/docs/platforms/javascript/common/configuration/integrations/mongo.mdx index 8b3931da1012bb..97d46298b221fc 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mongo.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mongo.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx b/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx index a60fc6a0bc9d84..08d6e65b1fa1a3 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mongoose.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/mysql.mdx b/docs/platforms/javascript/common/configuration/integrations/mysql.mdx index 0116d1bceb7ae5..f67cd8cf9d30c6 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mysql.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mysql.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx b/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx index 2c6dc9e01eeffd..51c8e65b35117e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/mysql2.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/nest.mdx b/docs/platforms/javascript/common/configuration/integrations/nest.mdx index fa5822c61a9ba5..a6bd066d65c965 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nest.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nest.mdx @@ -3,6 +3,17 @@ title: Nest.js description: "Adds performance instrumentation for Nest.js. (default)" supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.firebase + - javascript.gcp-functions + - javascript.hapi + - javascript.hono + - javascript.koa + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx b/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx index 4939f5d142c59f..ab4bd80d59bd05 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodecontext.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx index 16387226a30ce5..365e8165b3a449 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx @@ -15,6 +15,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx b/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx index 76e91d207fb259..e0cf6735938664 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodeprofiling.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx b/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx index 4fd642cff9a31f..60c14f052c7c49 100644 --- a/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/noderuntimemetrics.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx b/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx index b61c6529661d1a..d6694446179fe9 100644 --- a/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/onuncaughtexception.mdx @@ -16,6 +16,11 @@ supported: - javascript.deno - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx index 0b0a5cb9c8d4d3..989d43cb97decc 100644 --- a/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/openfeature.mdx @@ -1,6 +1,10 @@ --- title: OpenFeature description: "Learn how to use Sentry with OpenFeature." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.azure-functions - javascript.bun @@ -11,6 +15,7 @@ notSupported: - javascript.electron - javascript.node - javascript.wasm + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/pino.mdx b/docs/platforms/javascript/common/configuration/integrations/pino.mdx index 0c3de4fda97845..03cdfc75b037b2 100644 --- a/docs/platforms/javascript/common/configuration/integrations/pino.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/pino.mdx @@ -15,6 +15,10 @@ supported: - javascript.react-router - javascript.astro - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/postgres.mdx b/docs/platforms/javascript/common/configuration/integrations/postgres.mdx index 1cbf6c7ab473a5..a2a7f7dd2a8be2 100644 --- a/docs/platforms/javascript/common/configuration/integrations/postgres.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/postgres.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx index 62ea5db68d798c..e869b1e0190bfe 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx @@ -13,6 +13,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx index e01f84299b2246..2430089ad467da 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx @@ -13,6 +13,11 @@ supported: - javascript.react-router - javascript.astro - javascript.bun +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/redis.mdx b/docs/platforms/javascript/common/configuration/integrations/redis.mdx index 62dc66e4f539b0..65640159bf9646 100644 --- a/docs/platforms/javascript/common/configuration/integrations/redis.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/redis.mdx @@ -14,6 +14,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/replay.mdx b/docs/platforms/javascript/common/configuration/integrations/replay.mdx index af70b152d2e70e..39fc7ee3d634cf 100644 --- a/docs/platforms/javascript/common/configuration/integrations/replay.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/replay.mdx @@ -1,6 +1,9 @@ --- title: Replay description: "Capture a video-like reproduction of what was happening in the user's browser." +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm @@ -9,6 +12,7 @@ notSupported: - javascript.node - javascript.azure-functions - javascript.cloudflare + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx b/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx index f0ad005ca05f12..c5004fd7f79eb8 100644 --- a/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/replaycanvas.mdx @@ -1,6 +1,9 @@ --- title: ReplayCanvas description: "Capture session replays from HTML canvas elements." +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm @@ -9,6 +12,7 @@ notSupported: - javascript.node - javascript.azure-functions - javascript.cloudflare + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx b/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx index d72f981c93ed49..bdef420d42dd23 100644 --- a/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/reportingobserver.mdx @@ -1,12 +1,17 @@ --- title: ReportingObserver description: "Captures the reports collected via the `ReportingObserver` interface and sends them to Sentry." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.node - javascript.azure-functions - javascript.deno - javascript.bun - javascript.cloudflare + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx b/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx index 713ca4be150c07..b78bccc3651c90 100644 --- a/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/requestdata.mdx @@ -15,6 +15,11 @@ supported: - javascript.astro - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/statsig.mdx b/docs/platforms/javascript/common/configuration/integrations/statsig.mdx index 9243debb714fef..07ad27fba51c41 100644 --- a/docs/platforms/javascript/common/configuration/integrations/statsig.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/statsig.mdx @@ -1,6 +1,12 @@ --- title: Statsig description: "Learn how to use Sentry with Statsig." +supported: + - javascript + - javascript.firebase + - javascript.hono + - javascript.nitro + - javascript.elysia notSupported: - javascript.azure-functions - javascript.bun @@ -11,6 +17,7 @@ notSupported: - javascript.electron - javascript.node - javascript.wasm + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/supabase.mdx b/docs/platforms/javascript/common/configuration/integrations/supabase.mdx index 9532e84be6398f..a443b96c9d5b6a 100644 --- a/docs/platforms/javascript/common/configuration/integrations/supabase.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/supabase.mdx @@ -17,6 +17,11 @@ supported: - javascript.deno - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- _Import name: `Sentry.supabaseIntegration`_ diff --git a/docs/platforms/javascript/common/configuration/integrations/tedious.mdx b/docs/platforms/javascript/common/configuration/integrations/tedious.mdx index a329fc133a2ca2..eec67ed02b9c2e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/tedious.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/tedious.mdx @@ -16,6 +16,11 @@ supported: - javascript.astro - javascript.bun - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx index 80cf0b8c943c29..4ee15041807c99 100644 --- a/docs/platforms/javascript/common/configuration/integrations/trpc.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/trpc.mdx @@ -16,6 +16,11 @@ supported: - javascript.bun - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx b/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx index 94af7835138714..70ba5bcfcf4d3c 100644 --- a/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx @@ -16,6 +16,11 @@ supported: - javascript.deno - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/unleash.mdx b/docs/platforms/javascript/common/configuration/integrations/unleash.mdx index 03258fad79cda7..d7e59b89bd41fd 100644 --- a/docs/platforms/javascript/common/configuration/integrations/unleash.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/unleash.mdx @@ -1,6 +1,10 @@ --- title: Unleash description: "Learn how to use Sentry with Unleash." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.azure-functions - javascript.bun @@ -11,6 +15,7 @@ notSupported: - javascript.electron - javascript.node - javascript.wasm + --- diff --git a/docs/platforms/javascript/common/configuration/integrations/webworker.mdx b/docs/platforms/javascript/common/configuration/integrations/webworker.mdx index 904778781aed1a..2d7036ddf0213e 100644 --- a/docs/platforms/javascript/common/configuration/integrations/webworker.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/webworker.mdx @@ -1,6 +1,10 @@ --- title: WebWorker description: "Connect Web Workers with the SDK running on the main thread" +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupported: - javascript.cordova - javascript.node @@ -8,6 +12,7 @@ notSupported: - javascript.deno - javascript.cloudflare - javascript.bun + --- _Import name: `Sentry.webWorkerIntegration`_ diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx index ca898df8d9aecf..24e7bb51322ea3 100644 --- a/docs/platforms/javascript/common/configuration/options.mdx +++ b/docs/platforms/javascript/common/configuration/options.mdx @@ -733,7 +733,7 @@ If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org This header is attached in addition to the `sentry-trace` and `baggage` headers. Set this option to `true` if your backend services are instrumented with e.g. OpenTelemetry or other W3C Trace Context compatible libraries and you want to continue traces from the client. - + **Important:** Make sure that your backend services' CORS configuration allows the `traceparent` header. Otherwise, requests might be blocked. @@ -853,7 +853,7 @@ This option is required to enable profiling (default is `0`). Determines how profiling sessions are controlled. It has two modes: -- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. +- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. - `'trace'`: Profiling starts and stops automatically with transactions (or service spans if you're using stream mode), as long as tracing is enabled. The profiler runs as long as there is at least one sampled transaction. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). @@ -892,7 +892,7 @@ This option is required to enable profiling (default is `0`). Determines how profiling sessions are controlled. It has two modes: -- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. +- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. - `'trace'`: Profiling starts and stops automatically with transactions, as long as tracing is enabled. The profiler runs as long as there is at least one sampled transaction. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). diff --git a/docs/platforms/javascript/common/configuration/transports.mdx b/docs/platforms/javascript/common/configuration/transports.mdx index 80a0c3cb75b767..c2585d7c20205b 100644 --- a/docs/platforms/javascript/common/configuration/transports.mdx +++ b/docs/platforms/javascript/common/configuration/transports.mdx @@ -2,6 +2,9 @@ title: Transports sidebar_order: 30 description: "Transports let you change the way in which events are delivered to Sentry by the JavaScript SDK." +supported: + - javascript + - javascript.firebase notSupported: - javascript.capacitor - javascript.cordova diff --git a/docs/platforms/javascript/common/configuration/tree-shaking.mdx b/docs/platforms/javascript/common/configuration/tree-shaking.mdx index 5b3b1c7c2c56a7..aeb24b36750516 100644 --- a/docs/platforms/javascript/common/configuration/tree-shaking.mdx +++ b/docs/platforms/javascript/common/configuration/tree-shaking.mdx @@ -101,7 +101,7 @@ Replacing this flag with `false` will tree shake any SDK code that's related to - + `__RRWEB_EXCLUDE_IFRAME__` @@ -266,9 +266,7 @@ This means that the `ClientOptions.integrations` property is the final array of - + ## Tree Shaking Default Integrations diff --git a/docs/platforms/javascript/common/crons/index.mdx b/docs/platforms/javascript/common/crons/index.mdx index 67267cdeab6607..67cb143e1d7d30 100644 --- a/docs/platforms/javascript/common/crons/index.mdx +++ b/docs/platforms/javascript/common/crons/index.mdx @@ -15,12 +15,15 @@ supported: - javascript.node - javascript.azure-functions - javascript.cloudflare +notSupported: + - javascript.firebase + - javascript.elysia --- Once implemented, it'll allow you to get alerts and metrics to help you solve errors, detect timeouts, and prevent disruptions to your service. - + ## Requirements @@ -30,7 +33,7 @@ Once implemented, it'll allow you to get alerts and metrics to help you solve er - + ## Requirements diff --git a/docs/platforms/javascript/common/crons/troubleshooting.mdx b/docs/platforms/javascript/common/crons/troubleshooting.mdx index 1ee480eb385a48..67487f700c2d76 100644 --- a/docs/platforms/javascript/common/crons/troubleshooting.mdx +++ b/docs/platforms/javascript/common/crons/troubleshooting.mdx @@ -15,6 +15,11 @@ supported: - javascript.azure-functions - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- diff --git a/docs/platforms/javascript/common/data-management/data-collected/index.mdx b/docs/platforms/javascript/common/data-management/data-collected/index.mdx index bfcdd6b8306b6c..1b5cf33ea0d8b9 100644 --- a/docs/platforms/javascript/common/data-management/data-collected/index.mdx +++ b/docs/platforms/javascript/common/data-management/data-collected/index.mdx @@ -149,7 +149,7 @@ By default, the Sentry SDK sends information about the device and runtime to Sen - + ## Session Replay diff --git a/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx b/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx index 47cd7fcda6125a..04c6e4bde5db6c 100644 --- a/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx +++ b/docs/platforms/javascript/common/enriching-events/request-isolation/index.mdx @@ -13,6 +13,10 @@ supported: - javascript.react-router notSupported: - javascript + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + --- In server-side environments, the isolation scope automatically forks around request boundaries. This is done automatically by the SDK. As a result, each request has its own isolation scope, and data set on the isolation scope only applies to events captured during that request. diff --git a/docs/platforms/javascript/common/index.mdx b/docs/platforms/javascript/common/index.mdx index 290265c3762e4d..65b3414bdc095c 100644 --- a/docs/platforms/javascript/common/index.mdx +++ b/docs/platforms/javascript/common/index.mdx @@ -20,7 +20,7 @@ This guide focuses on plain JavaScript. If you're working with React, Next.js, o - + @@ -28,7 +28,7 @@ This guide focuses on plain JavaScript. If you're working with React, Next.js, o - + ## Features @@ -61,7 +61,7 @@ Select which Sentry features you'd like to install in addition to Error Monitori - + In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also collect and analyze performance profiles from real users with [profiling](/product/profiling/). @@ -70,7 +70,7 @@ Select which Sentry features you'd like to install in addition to Error Monitori - + @@ -80,7 +80,7 @@ In addition to capturing errors, you can monitor interactions between multiple s Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below. - + @@ -120,7 +120,7 @@ Sentry supports multiple versions of React Router. To learn how to configure the - + ## Use diff --git a/docs/platforms/javascript/common/install/commonjs.mdx b/docs/platforms/javascript/common/install/commonjs.mdx index 68c8feb68544f3..9d6d468eb65842 100644 --- a/docs/platforms/javascript/common/install/commonjs.mdx +++ b/docs/platforms/javascript/common/install/commonjs.mdx @@ -4,6 +4,12 @@ sidebar_order: 9 description: "Learn about running Sentry in an CJS application." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/install/esm-without-import.mdx b/docs/platforms/javascript/common/install/esm-without-import.mdx index 378b1d15c26192..1fa28fd6a8c314 100644 --- a/docs/platforms/javascript/common/install/esm-without-import.mdx +++ b/docs/platforms/javascript/common/install/esm-without-import.mdx @@ -4,6 +4,12 @@ sidebar_order: 11 description: "Learn about running Sentry in an ESM application, without the --import flag." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/install/esm.mdx b/docs/platforms/javascript/common/install/esm.mdx index e97d5c27b43d5f..39b5ad464ca51a 100644 --- a/docs/platforms/javascript/common/install/esm.mdx +++ b/docs/platforms/javascript/common/install/esm.mdx @@ -4,6 +4,12 @@ sidebar_order: 10 description: "Learn about running Sentry in an ESM application." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/install/esm__v8.x.mdx b/docs/platforms/javascript/common/install/esm__v8.x.mdx index 3eb0d3c2a33e9b..b5deb2334c6589 100644 --- a/docs/platforms/javascript/common/install/esm__v8.x.mdx +++ b/docs/platforms/javascript/common/install/esm__v8.x.mdx @@ -4,6 +4,12 @@ sidebar_order: 10 description: "Learn about running Sentry in an ESM application." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro noindex: true --- diff --git a/docs/platforms/javascript/common/install/index.mdx b/docs/platforms/javascript/common/install/index.mdx index 0fe8d8d6aac809..663bb2012aa1a3 100644 --- a/docs/platforms/javascript/common/install/index.mdx +++ b/docs/platforms/javascript/common/install/index.mdx @@ -28,6 +28,7 @@ notSupported: - javascript.cloudflare - javascript.react-router - javascript.tanstackstart-react + --- diff --git a/docs/platforms/javascript/common/install/late-initialization.mdx b/docs/platforms/javascript/common/install/late-initialization.mdx index acf8ef1e7dc198..14255007241bc2 100644 --- a/docs/platforms/javascript/common/install/late-initialization.mdx +++ b/docs/platforms/javascript/common/install/late-initialization.mdx @@ -4,6 +4,12 @@ sidebar_order: 12 description: "Learn about running Sentry in an ESM or CJS application, in scenarios where you cannot run init early." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/install/lightweight.mdx b/docs/platforms/javascript/common/install/lightweight.mdx index 7bf9bd7fd3693e..7d8bb445378cfd 100644 --- a/docs/platforms/javascript/common/install/lightweight.mdx +++ b/docs/platforms/javascript/common/install/lightweight.mdx @@ -4,6 +4,12 @@ sidebar_order: 15 description: "Learn about running Sentry in lightweight mode without OpenTelemetry, or with optional OTLP integration for existing OTel setups." supported: - javascript.node +notSupported: + - javascript.aws-lambda + - javascript.firebase + - javascript.gcp-functions + - javascript.nestjs + - javascript.nitro --- diff --git a/docs/platforms/javascript/common/install/loader.mdx b/docs/platforms/javascript/common/install/loader.mdx index 21ea185a6ddb4b..6bb87d00ef9fda 100644 --- a/docs/platforms/javascript/common/install/loader.mdx +++ b/docs/platforms/javascript/common/install/loader.mdx @@ -2,6 +2,9 @@ title: Loader Script sidebar_order: 10 description: Learn about the Sentry JavaScript Loader Script +supported: + - javascript + - javascript.firebase notSupported: - javascript.angular - javascript.astro diff --git a/docs/platforms/javascript/common/install/npm.mdx b/docs/platforms/javascript/common/install/npm.mdx index 36ccf1683d257b..1938eb0d773cb0 100644 --- a/docs/platforms/javascript/common/install/npm.mdx +++ b/docs/platforms/javascript/common/install/npm.mdx @@ -2,6 +2,9 @@ title: NPM sidebar_order: 0 description: "Learn about installing with NPM." +supported: + - javascript + - javascript.firebase notSupported: - javascript.angular - javascript.astro @@ -27,6 +30,7 @@ notSupported: - javascript.azure-functions - javascript.cloudflare - javascript.tanstackstart-react + --- The npm package for Sentry offers several advantages for specific use cases: diff --git a/docs/platforms/javascript/common/logs/index.mdx b/docs/platforms/javascript/common/logs/index.mdx index d86bf91b03673c..528fbff99010de 100644 --- a/docs/platforms/javascript/common/logs/index.mdx +++ b/docs/platforms/javascript/common/logs/index.mdx @@ -209,7 +209,7 @@ Sentry.init({ Everything in Sentry is linked by trace. When you're viewing a log, you can jump to the parent trace to see the full request context. When you're viewing a trace, you can see all logs emitted during that operation. This connection makes it easy to move between high-level performance data and detailed diagnostic logs. - **[Traces](/product/trace-explorer/)** — Logs emitted during an active span automatically include `sentry.trace.parent_span_id`. Click through from any log to see the full trace, or filter logs by trace ID to see everything that happened during a specific request. -- **[Session Replay](/product/session-replay/)** — Logs include `sentry.replay_id` when a replay is active. Jump from a log entry directly to the replay to see what the user was doing when the log was emitted. +- **[Session Replay](/product/session-replay/)** — Logs include `sentry.replay_id` when a replay is active. Jump from a log entry directly to the replay to see what the user was doing when the log was emitted. - **[Errors](/product/issues/)** — Logs capture the journey leading up to a failure. When an error occurs, your logs show what data was processed, which code paths executed, and what state the system was in — context that stack traces alone can't provide. ## Best Practices @@ -228,6 +228,6 @@ Any attributes set via `Sentry.setAttribute()` / `Sentry.setAttributes()` (or di ## Related Features - Tracing — Logs are automatically linked to traces, so you can see logs in the context of the request or operation that produced them. -- Session Replay — Logs are automatically linked to replays, letting you jump from a log entry to see what the user was doing. +- Session Replay — Logs are automatically linked to replays, letting you jump from a log entry to see what the user was doing. - Error Monitoring — Use logs to add diagnostic context that helps you understand what led to an error. - Attributes — Set attributes once and have them automatically included on all your logs. diff --git a/docs/platforms/javascript/common/mcp-monitoring/index.mdx b/docs/platforms/javascript/common/mcp-monitoring/index.mdx index 21e92220e82437..bea2417a5d7eaa 100644 --- a/docs/platforms/javascript/common/mcp-monitoring/index.mdx +++ b/docs/platforms/javascript/common/mcp-monitoring/index.mdx @@ -17,6 +17,11 @@ supported: - javascript.remix - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- With Sentry's [MCP Monitoring](/product/mcp-servers/), you can track and debug MCP servers with full-stack context. You can monitor tool executions, prompt retrievals, resource access, and error rates alongside your other Sentry data, including logs, errors, and traces. diff --git a/docs/platforms/javascript/common/metrics/index.mdx b/docs/platforms/javascript/common/metrics/index.mdx index 9b970b70738f8b..99f84807260ed9 100644 --- a/docs/platforms/javascript/common/metrics/index.mdx +++ b/docs/platforms/javascript/common/metrics/index.mdx @@ -34,7 +34,7 @@ With [Sentry's Application Metrics](/product/metrics/), you can send counters, g ## Integrations - + - `elementTimingIntegration` diff --git a/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx b/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx index 83aa7dbabd85a7..798e45e34cb969 100644 --- a/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx +++ b/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx @@ -39,7 +39,7 @@ The [Interactive v11 Migration Guide](./interactive/) shows the steps for your s Version 11 has new compatibility ranges for runtimes, frameworks, and libraries. - + ### Node.js @@ -696,7 +696,7 @@ Instrumentation now runs through diagnostics channels (`orchestrion`) instead of The `vercelAIIntegration` is the exception. It no longer works on Vercel Edge, which doesn't support diagnostics channels, and it no longer enhances the native OpenTelemetry spans the `ai` package emits. Those spans are captured as they are, so some agent monitoring capabilities are lost. - + ### Initializing With `--require` Is No Longer Supported @@ -1394,7 +1394,7 @@ node --import @sentry/node/import app.js ### Profiling - + The legacy per-transaction profiling options were removed. Configure session-based profiling with `profileSessionSampleRate` and a `profileLifecycle` of `'trace'` or `'manual'` instead. The `prune-profiler-binaries` script was removed from `@sentry/profiling-node`. diff --git a/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx b/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx index 6993ebe9a5a323..e0c7c9599cf3e3 100644 --- a/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx +++ b/docs/platforms/javascript/common/migration/v7-to-v8/v8-opentelemetry.mdx @@ -7,6 +7,11 @@ supported: - javascript.node - javascript.azure-functions - javascript.bun +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- In `8.x`, the Tracing APIs for the SDK been completely overhauled. It is now powered by [OpenTelemetry](https://opentelemetry.io/) under the hood. diff --git a/docs/platforms/javascript/common/migration/v8-to-v9.mdx b/docs/platforms/javascript/common/migration/v8-to-v9.mdx index 8b9f16713c67f2..c3f01bb960daab 100644 --- a/docs/platforms/javascript/common/migration/v8-to-v9.mdx +++ b/docs/platforms/javascript/common/migration/v8-to-v9.mdx @@ -178,7 +178,7 @@ The changes outlined in this section describe in what way the SDK may behave dif - + - The `tracesSampler` hook will no longer be called for _every_ span. Root spans may however have incoming trace data from a different service, for example when using distributed tracing. @@ -343,7 +343,7 @@ The changes outlined in this section detail deprecated APIs that are now removed - The `sessionTimingIntegration` has been removed. To capture session durations alongside events, use Context (`Sentry.setContext()`). - + - The `addOpenTelemetryInstrumentation` method was removed. Use the `openTelemetryInstrumentations` option in `Sentry.init()` or your custom Sentry Client instead. @@ -597,7 +597,7 @@ The following changes are unlikely to affect users of the SDK. They are listed h - `RequestSessionStatus` - + ### Removals in `@sentry/opentelemetry` diff --git a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx index 5d9b072bf36d75..42e7e98f435e79 100644 --- a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx +++ b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx @@ -15,6 +15,8 @@ supported: - javascript.tanstackstart-react notSupported: - javascript + - javascript.firebase + - javascript.elysia sidebar_order: 0 --- @@ -28,7 +30,7 @@ If you are looking to simply add individual OpenTelemetry instrumentation to you - + If you don't need the full `@sentry/node` SDK and want a simpler way to bridge your existing OpenTelemetry setup with Sentry, consider using lightweight mode with the OTLP integration instead. It requires significantly less manual wiring. @@ -105,7 +107,7 @@ If you want to add your own http/node-fetch instrumentation, you have to follow You can add your own `@opentelemetry/instrumentation-http` instance in your OpenTelemetry setup. However, in this case, you need to disable span creation in Sentry's `httpIntegration`. You can also set `tracePropagation: false` to prevent Sentry from injecting trace headers, letting your OpenTelemetry setup handle propagation instead: - + ```javascript const sentryClient = Sentry.init({ dsn: "___DSN___", @@ -115,7 +117,7 @@ You can add your own `@opentelemetry/instrumentation-http` instance in your Open ``` - + ```javascript const sentryClient = Sentry.init({ dsn: "___DSN___", diff --git a/docs/platforms/javascript/common/opentelemetry/index.mdx b/docs/platforms/javascript/common/opentelemetry/index.mdx index 5a29a87b4bf4ca..95d56fdb9903b2 100644 --- a/docs/platforms/javascript/common/opentelemetry/index.mdx +++ b/docs/platforms/javascript/common/opentelemetry/index.mdx @@ -17,6 +17,8 @@ supported: - javascript.tanstackstart-react notSupported: - javascript + - javascript.firebase + - javascript.elysia beta: true --- diff --git a/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx b/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx index a15de7677c7a6b..5602314f78eeb8 100644 --- a/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx +++ b/docs/platforms/javascript/common/opentelemetry/using-opentelemetry-apis.mdx @@ -15,6 +15,8 @@ supported: - javascript.tanstackstart-react notSupported: - javascript + - javascript.firebase + - javascript.elysia sidebar_order: 1 --- diff --git a/docs/platforms/javascript/common/profiling/index.mdx b/docs/platforms/javascript/common/profiling/index.mdx index 38e10b04e7699d..6a4c3486898f46 100644 --- a/docs/platforms/javascript/common/profiling/index.mdx +++ b/docs/platforms/javascript/common/profiling/index.mdx @@ -4,12 +4,16 @@ sidebar_title: Profiling sidebar_order: 8 sidebar_section: features description: "Collect & view performance insights for JavaScript programs with Sentry's Profiling integrations. Get started with profiling to understand your application's performance." +supported: + - javascript + - javascript.elysia notSupported: - javascript.bun - javascript.cordova - javascript.capacitor - javascript.deno - javascript.cloudflare + --- diff --git a/docs/platforms/javascript/common/session-replay/configuration.mdx b/docs/platforms/javascript/common/session-replay/configuration.mdx index 6a3b003d116a25..16807b81871c65 100644 --- a/docs/platforms/javascript/common/session-replay/configuration.mdx +++ b/docs/platforms/javascript/common/session-replay/configuration.mdx @@ -1,6 +1,9 @@ --- title: Configuration sidebar_order: 4100 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm diff --git a/docs/platforms/javascript/common/session-replay/index.mdx b/docs/platforms/javascript/common/session-replay/index.mdx index 61180d903c4994..95278b1672219a 100644 --- a/docs/platforms/javascript/common/session-replay/index.mdx +++ b/docs/platforms/javascript/common/session-replay/index.mdx @@ -3,6 +3,9 @@ title: Set Up Session Replay sidebar_title: Session Replay sidebar_order: 5 sidebar_section: features +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm @@ -68,7 +71,7 @@ Session Replay only runs in the browser, so you only need to configure it in `in fallbackPlatform="javascript" /> - + ### Canvas Recording diff --git a/docs/platforms/javascript/common/session-replay/issue-types.mdx b/docs/platforms/javascript/common/session-replay/issue-types.mdx index dc9261c7a37b8a..806b694614d0bf 100644 --- a/docs/platforms/javascript/common/session-replay/issue-types.mdx +++ b/docs/platforms/javascript/common/session-replay/issue-types.mdx @@ -1,6 +1,9 @@ --- title: Replay Issues sidebar_order: 4300 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm diff --git a/docs/platforms/javascript/common/session-replay/privacy.mdx b/docs/platforms/javascript/common/session-replay/privacy.mdx index df61c80edb36ae..cb8a47ec5677fb 100644 --- a/docs/platforms/javascript/common/session-replay/privacy.mdx +++ b/docs/platforms/javascript/common/session-replay/privacy.mdx @@ -1,6 +1,9 @@ --- title: Privacy sidebar_order: 4200 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm diff --git a/docs/platforms/javascript/common/session-replay/troubleshooting.mdx b/docs/platforms/javascript/common/session-replay/troubleshooting.mdx index a8de607580b714..1120db6b4cf180 100644 --- a/docs/platforms/javascript/common/session-replay/troubleshooting.mdx +++ b/docs/platforms/javascript/common/session-replay/troubleshooting.mdx @@ -2,6 +2,9 @@ title: "Session Replay Troubleshooting" sidebar_title: "Troubleshooting" sidebar_order: 9000 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm diff --git a/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx b/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx index fa54cca3307794..09719525667fa2 100644 --- a/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx +++ b/docs/platforms/javascript/common/session-replay/understanding-sessions.mdx @@ -1,6 +1,9 @@ --- title: Understanding Sessions sidebar_order: 4400 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.wasm diff --git a/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx b/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx index 589d9a63530919..925d4fc0fb821f 100644 --- a/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx +++ b/docs/platforms/javascript/common/sourcemaps/uploading/hosting-publicly.mdx @@ -2,6 +2,9 @@ title: Hosting Publicly description: "Learn about publicly hosting your source maps, including how to address various security concerns." sidebar_order: 10 +supported: + - javascript + - javascript.firebase notSupported: - javascript.node - javascript.azure-functions @@ -11,6 +14,7 @@ notSupported: - javascript.remix - javascript.solidstart - javascript.sveltekit + --- diff --git a/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx b/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx index f05621ef0cd125..9032339ca826f5 100644 --- a/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx +++ b/docs/platforms/javascript/common/tracing/distributed-tracing/dealing-with-cors-issues/index.mdx @@ -1,6 +1,9 @@ --- title: Dealing with CORS Issues sidebar_order: 80 +supported: + - javascript + - javascript.firebase notSupported: - javascript.cordova - javascript.node diff --git a/docs/platforms/javascript/common/tracing/index.mdx b/docs/platforms/javascript/common/tracing/index.mdx index 96300394bff917..9e63481ab1b924 100644 --- a/docs/platforms/javascript/common/tracing/index.mdx +++ b/docs/platforms/javascript/common/tracing/index.mdx @@ -55,7 +55,7 @@ You can find more in-depth explanations and examples about sampling configuratio Sentry captures distributed traces consisting of transactions and spans, which measure individual services and individual operations within those services, respectively. Learn more about our model in [Distributed Tracing](/concepts/key-terms/tracing/distributed-tracing/). - + ## Agent Tracing @@ -115,7 +115,7 @@ You can also manually start spans to instrument specific parts of your code. Thi - Sending Span Metrics: Learn how to capture metrics on your spans - + ## Replay Linking @@ -153,7 +153,7 @@ Instead, neither `tracesSampleRate` nor `tracesSampler` should be defined in you ## Related Features -- Session Replay — Traces appear in the Replay timeline, showing performance data alongside the user's actions. +- Session Replay — Traces appear in the Replay timeline, showing performance data alongside the user's actions. - Logs — Logs emitted during a trace are automatically linked, giving you diagnostic context for each operation. ## Tracing Next Steps diff --git a/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx b/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx index e0b8b4cee29c5e..cd9ce5a3085bbb 100644 --- a/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx +++ b/docs/platforms/javascript/common/tracing/instrumentation/caches-module.mdx @@ -15,6 +15,11 @@ supported: - javascript.remix - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- A cache can be used to speed up data retrieval, thereby improving application performance. Because instead of getting data from a potentially slow data layer, your application will be getting data from memory (in a best case scenario). Caching can speed up read-heavy workloads for applications like Q&A portals, gaming, media sharing, and social networking. @@ -41,7 +46,7 @@ If you're using anything other than Sentry's Redis integration, you'll need to m You'll need to create two spans - one indicating that something is being put into the cache, and a second one indicating that something is being fetched from the cache. - + Make sure that there's an active span before you create your cache spans. If you're using a web framework like Express, a span will be created for you automatically. See Tracing for more information. diff --git a/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx b/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx index 47dfc4c0d30fa1..fc912f179a91c6 100644 --- a/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx +++ b/docs/platforms/javascript/common/tracing/instrumentation/queues-module.mdx @@ -15,6 +15,11 @@ supported: - javascript.remix - javascript.cloudflare - javascript.tanstackstart-react +notSupported: + - javascript.firebase + - javascript.nitro + - javascript.elysia + --- To ensure that you have performance data about your messaging queues, you'll need to instrument custom spans and transactions around your queue producers and consumers. diff --git a/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx b/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx index 7e4e3ba24cf917..12d948aafbd8af 100644 --- a/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx +++ b/docs/platforms/javascript/common/troubleshooting/supported-browsers.mdx @@ -1,6 +1,9 @@ --- title: Supported Browsers description: "We support a variety of browsers; check out our list." +supported: + - javascript + - javascript.firebase notSupported: - javascript.capacitor - javascript.cordova diff --git a/docs/platforms/javascript/common/user-feedback/configuration/index.mdx b/docs/platforms/javascript/common/user-feedback/configuration/index.mdx index 21b04182ba1399..61c1bc6e3b8c7c 100644 --- a/docs/platforms/javascript/common/user-feedback/configuration/index.mdx +++ b/docs/platforms/javascript/common/user-feedback/configuration/index.mdx @@ -5,7 +5,7 @@ description: Learn about general User Feedback configuration fields. og_image: /og-images/platforms-javascript-common-user-feedback-configuration.png --- - + ## User Feedback Widget diff --git a/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx b/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx index 96a9753eaddb1e..2a88906e7b6856 100644 --- a/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx +++ b/docs/platforms/javascript/common/user-feedback/configuration/index__v7.x.mdx @@ -14,7 +14,7 @@ In version 7 of our JavaScript SDK, User Feedback was released as a Beta integra - + ## User Feedback Widget diff --git a/docs/platforms/javascript/common/user-feedback/index.mdx b/docs/platforms/javascript/common/user-feedback/index.mdx index 35ec165a3d1b6f..d00f53d3cf1e86 100644 --- a/docs/platforms/javascript/common/user-feedback/index.mdx +++ b/docs/platforms/javascript/common/user-feedback/index.mdx @@ -15,7 +15,7 @@ The User Feedback feature allows you to collect user feedback from anywhere insi feature. Lower versions may have limited functionality. - + ## User Feedback Widget diff --git a/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx b/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx index fa9e8677ee5f96..1002f4d4a75cb2 100644 --- a/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx +++ b/includes/metrics/javascript-quick-start-verify-metrics-splitlayout.mdx @@ -8,7 +8,7 @@ Send test metrics from your app to verify that metrics are arriving in Sentry: - + In a Node.js runtime, you can use the [NodeRuntimeMetrics](/platforms/javascript/guides/node/configuration/integrations/noderuntimemetrics/) integration to automatically collect Node.js runtime health metrics. diff --git a/includes/quick-start-features-expandable.mdx b/includes/quick-start-features-expandable.mdx index 3dc2602a78f43e..41eadc31e1b7a9 100644 --- a/includes/quick-start-features-expandable.mdx +++ b/includes/quick-start-features-expandable.mdx @@ -27,7 +27,7 @@ import { FeatureInfo } from "sentry-docs/components/featureInfo"; - + - + - + By default, the Node.js-based SDKs are sending sessions. Sessions are created for every incoming request. diff --git a/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx b/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx index a3569973a9b78c..840596f7ea070c 100644 --- a/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx +++ b/platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx @@ -39,7 +39,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values. -If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. +If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. ### Using sentry-cli diff --git a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx index 3e62b49ec0c083..4fd73c3ca7e065 100644 --- a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx +++ b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx @@ -328,7 +328,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values. -If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. +If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. #### Using sentry-cli diff --git a/platform-includes/sourcemaps/overview/javascript.capacitor.mdx b/platform-includes/sourcemaps/overview/javascript.capacitor.mdx index 7e921f06248163..8978c971a07423 100644 --- a/platform-includes/sourcemaps/overview/javascript.capacitor.mdx +++ b/platform-includes/sourcemaps/overview/javascript.capacitor.mdx @@ -50,7 +50,7 @@ If you used Create React App to set up your React application see our Sentry CLI. - + diff --git a/platform-includes/sourcemaps/overview/javascript.mdx b/platform-includes/sourcemaps/overview/javascript.mdx index 41d8c9a352334d..824027e04c0ec8 100644 --- a/platform-includes/sourcemaps/overview/javascript.mdx +++ b/platform-includes/sourcemaps/overview/javascript.mdx @@ -58,7 +58,7 @@ If you used Create React App to set up your React application see our Sentry CLI. - + diff --git a/platform-includes/sourcemaps/troubleshooting/javascript.mdx b/platform-includes/sourcemaps/troubleshooting/javascript.mdx index 612d5d21754d8a..d5cdef30924a2a 100644 --- a/platform-includes/sourcemaps/troubleshooting/javascript.mdx +++ b/platform-includes/sourcemaps/troubleshooting/javascript.mdx @@ -129,16 +129,7 @@ If you are using `sentry-cli` to upload your artifacts, starting with version `2 Sometimes build scripts and plugins produce pre-compressed minified files (for example, webpack's [compression plugin](https://github.com/webpack/compression-webpack-plugin)). In these cases, you'll need to disable such plugins and perform the compression **after** the generated source maps/source files have been uploaded to Sentry. - + ### Verify Source Fetching is Enabled If you're hosting your source maps publicly, make sure you have the "Enable JavaScript source fetching" option activated under **[Settings] > Projects > Select your project > General Settings**. diff --git a/platform-includes/sourcemaps/upload/primer/javascript.mdx b/platform-includes/sourcemaps/upload/primer/javascript.mdx index fc085449572b29..8e74bfdef70c7c 100644 --- a/platform-includes/sourcemaps/upload/primer/javascript.mdx +++ b/platform-includes/sourcemaps/upload/primer/javascript.mdx @@ -1,7 +1,7 @@ We provide guides on uploading source maps to Sentry for the most popular JavaScript build tools. Pick one from the list below to learn more. - + @@ -11,7 +11,7 @@ If you can't find the tool of your choice in the list below, we recommend you ch - + From 5b23133ad0ce6eb4e9f045080d60fe2a747c721a Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 08:03:48 +0000 Subject: [PATCH 4/6] ref(platforms): simplify agent guide conditions --- .../javascript/common/agent-tracing/anthropic.mdx | 6 +++--- .../javascript/common/agent-tracing/google-genai.mdx | 6 +++--- .../javascript/common/agent-tracing/langchain.mdx | 6 +++--- .../javascript/common/agent-tracing/langgraph.mdx | 6 +++--- docs/platforms/javascript/common/agent-tracing/openai.mdx | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx index af4e5acac0440e..9f071dffc517c4 100644 --- a/docs/platforms/javascript/common/agent-tracing/anthropic.mdx +++ b/docs/platforms/javascript/common/agent-tracing/anthropic.mdx @@ -37,7 +37,7 @@ supported: _Import name: `Sentry.anthropicAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -51,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -128,7 +128,7 @@ Defaults to `true` if `dataCollection.genAI.outputs` is `true` (which is the def - + Using the `instrumentAnthropicAiClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx index 244ddd042def30..d250e9433cf4a6 100644 --- a/docs/platforms/javascript/common/agent-tracing/google-genai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/google-genai.mdx @@ -37,7 +37,7 @@ supported: _Import name: `Sentry.googleGenAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -51,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -124,7 +124,7 @@ Sentry.init({ - + Using the `instrumentGoogleGenAIClient` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/langchain.mdx b/docs/platforms/javascript/common/agent-tracing/langchain.mdx index ec0c8237f43083..d42a5b210b3d46 100644 --- a/docs/platforms/javascript/common/agent-tracing/langchain.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langchain.mdx @@ -37,7 +37,7 @@ supported: _Import name: `Sentry.langChainIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -51,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -128,7 +128,7 @@ Sentry.init({ - + Using the `createLangChainCallbackHandler` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx index 65478b64b88839..53ddeaf7fb3d46 100644 --- a/docs/platforms/javascript/common/agent-tracing/langgraph.mdx +++ b/docs/platforms/javascript/common/agent-tracing/langgraph.mdx @@ -37,7 +37,7 @@ supported: _Import name: `Sentry.langGraphIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, you need to use **[Manual Instrumentation](#manual-instrumentation)** to explicitly wrap your AI client instance instead. @@ -51,7 +51,7 @@ supported: - + ## Manual Instrumentation @@ -150,7 +150,7 @@ Sentry.init({ - + Using the `instrumentLangGraph` wrapper for **manual instrumentation**: diff --git a/docs/platforms/javascript/common/agent-tracing/openai.mdx b/docs/platforms/javascript/common/agent-tracing/openai.mdx index 9ab7be42f6da74..50712954d8e29c 100644 --- a/docs/platforms/javascript/common/agent-tracing/openai.mdx +++ b/docs/platforms/javascript/common/agent-tracing/openai.mdx @@ -37,7 +37,7 @@ supported: _Import name: `Sentry.openAIIntegration`_ - + If you are using a different runtime (like Bun, Cloudflare Workers or a Browser) or experiencing missing spans, **[wrap the client](#instrument-the-client)** with `instrumentOpenAiClient` instead. @@ -51,7 +51,7 @@ supported: - + ## Instrument the Client @@ -173,7 +173,7 @@ Sentry.init({ - + Using the `instrumentOpenAiClient` wrapper: @@ -208,7 +208,7 @@ To get the full agent tree (`gen_ai.invoke_agent` → `gen_ai.chat` + `gen_ai.ex - + To get the full agent tree (`gen_ai.invoke_agent` → `gen_ai.chat` + `gen_ai.execute_tool`), wrap your tool loop with manual instrumentation. From 375dc65d71b26a5a9587eb633cbe5ff12f8524e2 Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 22 Sep 2026 14:23:10 -0700 Subject: [PATCH 5/6] test(platforms): Cover fallback support precedence --- docs/contributing/platforms/index.mdx | 13 +++++++++++++ src/commonContentInheritance.spec.ts | 12 +++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/contributing/platforms/index.mdx b/docs/contributing/platforms/index.mdx index 0d661302e59df6..3befdd51c7b7b9 100644 --- a/docs/contributing/platforms/index.mdx +++ b/docs/contributing/platforms/index.mdx @@ -68,6 +68,19 @@ A list of categories for future support. Known values are `browser`, `mobile`, ` The key to use for defaults. Can use full key syntax of `platformName` or `platformName.guideName`. +`fallbackGuide` + +Guide-only. The fully qualified parent guide key, such as `javascript.node`. +The guide inherits shared-content support rules from this guide. Support is +resolved from the current guide through its fallback chain. An explicit +`supported` or `notSupported` entry for the current guide takes precedence over +inherited and category-based rules; otherwise, category exclusions take +precedence over inherited fallback support. + +Use `fallbackGuide` when the guide implements the parent guide's documented +features and APIs. Use explicit support rules or guide-owned pages for exceptions. +Setting `inheritCommonContent: false` still disables all common-page inheritance. + `sdk` The name of the SDK, if available. Used to embed SDK information on pages. diff --git a/src/commonContentInheritance.spec.ts b/src/commonContentInheritance.spec.ts index e0e53ab35d2eaf..a67825eafe87a9 100644 --- a/src/commonContentInheritance.spec.ts +++ b/src/commonContentInheritance.spec.ts @@ -72,6 +72,13 @@ beforeAll(async () => { 'supported:\n - test.express\nnotSupported:\n - test.node\n' ) ), + writeFile( + path.join(commonPath, 'node-page-excluded-from-server.mdx'), + frontmatter( + 'Node page excluded from server', + 'supported:\n - test.node\nnotSupportedCategories:\n - server\n' + ) + ), writeFile( path.join(guidesPath, 'index-opt-out', 'index.mdx'), frontmatter('Index opt-out', 'inheritCommonContent: false\n') @@ -104,7 +111,7 @@ beforeAll(async () => { writeFile(path.join(guidesPath, 'node', 'index.mdx'), frontmatter('Node')), writeFile( path.join(guidesPath, 'express', 'index.mdx'), - frontmatter('Express', 'fallbackGuide: test.node\n') + frontmatter('Express', 'fallbackGuide: test.node\ncategories:\n - server\n') ), writeFile( path.join(guidesPath, 'override', 'index.mdx'), @@ -170,6 +177,9 @@ describe.each([ expect(slugs.has('platforms/test/guides/express/node-only')).toBe(true); expect(slugs.has('platforms/test/guides/express/not-on-node')).toBe(false); expect(slugs.has('platforms/test/guides/express/express-override')).toBe(true); + expect( + slugs.has('platforms/test/guides/express/node-page-excluded-from-server') + ).toBe(false); }); }); From 92a7bfbbdcee69d45000ec08c1dee4566da5575b Mon Sep 17 00:00:00 2001 From: Shannon Anahata Date: Tue, 22 Sep 2026 15:16:51 -0700 Subject: [PATCH 6/6] fix(platforms): Restore inherited guide exceptions --- .../javascript/common/agent-tracing/flue.mdx | 3 +++ .../integrations/contextlines.mdx | 4 +++ .../javascript/common/install/commonjs.mdx | 3 +++ .../common/install/esm-without-import.mdx | 5 ++-- .../javascript/common/install/esm.mdx | 3 +++ .../javascript/common/install/esm__v8.x.mdx | 3 +++ .../common/install/late-initialization.mdx | 3 +++ .../javascript/common/install/lightweight.mdx | 25 +++++++++++-------- .../common/opentelemetry/custom-setup.mdx | 2 +- .../javascript/common/profiling/index.mdx | 3 +++ .../legacy-uploading-methods/javascript.mdx | 20 ++++++++++++--- 11 files changed, 56 insertions(+), 18 deletions(-) diff --git a/docs/platforms/javascript/common/agent-tracing/flue.mdx b/docs/platforms/javascript/common/agent-tracing/flue.mdx index db903967a4e56a..c5988a710af22c 100644 --- a/docs/platforms/javascript/common/agent-tracing/flue.mdx +++ b/docs/platforms/javascript/common/agent-tracing/flue.mdx @@ -7,6 +7,9 @@ supported: - javascript.node - javascript.eve - javascript.cloudflare +notSupported: + - javascript.firebase + - javascript.gcp-functions --- [Flue](https://flueframework.com/) is an open TypeScript framework for building AI agents, made by the Astro team. Flue ships an official Sentry blueprint that installs the Sentry SDK, wires Flue's OpenTelemetry instrumentation into it, and bridges Flue's runtime events to Sentry. You don't need to add Sentry calls to each agent or tool. diff --git a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx index 4b9dfd4029415f..39021f5d47a260 100644 --- a/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/contextlines.mdx @@ -1,6 +1,10 @@ --- title: ContextLines description: "Adds source code from inline JavaScript of the current page's HTML." +supported: + - javascript + - javascript.firebase + - javascript.elysia notSupportedCategories: - server-only notSupported: diff --git a/docs/platforms/javascript/common/install/commonjs.mdx b/docs/platforms/javascript/common/install/commonjs.mdx index 978d93e2ea3634..0e062274ea928e 100644 --- a/docs/platforms/javascript/common/install/commonjs.mdx +++ b/docs/platforms/javascript/common/install/commonjs.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions --- diff --git a/docs/platforms/javascript/common/install/esm-without-import.mdx b/docs/platforms/javascript/common/install/esm-without-import.mdx index a1a742bb750f5a..95539f17cb40ce 100644 --- a/docs/platforms/javascript/common/install/esm-without-import.mdx +++ b/docs/platforms/javascript/common/install/esm-without-import.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions --- @@ -17,12 +20,10 @@ supported: [installation methods](../). - When running your application in ESM mode, you will most likely want to follow the ESM instructions. However, if you can't use the `--import` command line option, you can either use [direct imports](#direct-imports) or [SEA bootstrap setup](#nodejs-single-executable-applications) if you are using a Node.js Single Executable Application (SEA). ## Direct Imports - This installation method has the fundamental restriction that only native Node.js APIs can be instrumented (such as `fetch` and the `http` module). diff --git a/docs/platforms/javascript/common/install/esm.mdx b/docs/platforms/javascript/common/install/esm.mdx index d222a843810b87..a47a08fcd55501 100644 --- a/docs/platforms/javascript/common/install/esm.mdx +++ b/docs/platforms/javascript/common/install/esm.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions --- diff --git a/docs/platforms/javascript/common/install/esm__v8.x.mdx b/docs/platforms/javascript/common/install/esm__v8.x.mdx index fb850ab562d987..df54605907c2ca 100644 --- a/docs/platforms/javascript/common/install/esm__v8.x.mdx +++ b/docs/platforms/javascript/common/install/esm__v8.x.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions noindex: true --- diff --git a/docs/platforms/javascript/common/install/late-initialization.mdx b/docs/platforms/javascript/common/install/late-initialization.mdx index 1362f0af7741af..f1bccfc40bcc35 100644 --- a/docs/platforms/javascript/common/install/late-initialization.mdx +++ b/docs/platforms/javascript/common/install/late-initialization.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions --- diff --git a/docs/platforms/javascript/common/install/lightweight.mdx b/docs/platforms/javascript/common/install/lightweight.mdx index dd87680c2cc5ba..ddd5e82ef43ea3 100644 --- a/docs/platforms/javascript/common/install/lightweight.mdx +++ b/docs/platforms/javascript/common/install/lightweight.mdx @@ -10,6 +10,9 @@ supported: - javascript.hapi - javascript.hono - javascript.koa +notSupported: + - javascript.firebase + - javascript.gcp-functions --- @@ -141,13 +144,13 @@ setConversationId("conv_abc123"); ## When to Use Lightweight Mode vs `@sentry/node` | | `@sentry/node` | `@sentry/node-core/light` | -| ------------------------------- | ------------------- | ---------------------------------------------- | -| **Error tracking** | Yes | Yes | -| **Logs and metrics** | Yes | Yes | -| **Automatic spans** | Yes | No | -| **OpenTelemetry auto-included** | Yes | No | -| **Dependency footprint** | Larger | Minimal | -| **Best for** | Full observability | No auto-instrumentation, manual tracing setup | +| ------------------------------- | ------------------ | --------------------------------------------- | +| **Error tracking** | Yes | Yes | +| **Logs and metrics** | Yes | Yes | +| **Automatic spans** | Yes | No | +| **OpenTelemetry auto-included** | Yes | No | +| **Dependency footprint** | Larger | Minimal | +| **Best for** | Full observability | No auto-instrumentation, manual tracing setup | If you need automatic spans for HTTP requests, database queries, and other operations, use `@sentry/node` (the default). If you don't need automatically created spans and want minimal dependencies, use lightweight mode. @@ -205,7 +208,7 @@ otlpIntegration({ ### Options -| Option | Type | Default | Description | -|---|---|---|---| -| `setupOtlpTracesExporter` | `boolean` | `true` | Automatically configure an exporter to send OTLP traces to the right project from the DSN or `collectorUrl`. Set to `false` to set up the `TracerProvider` manually. | -| `collectorUrl` | `string` | `undefined` | URL of your own OpenTelemetry collector. When set, traces are sent here instead of the Sentry OTLP endpoint derived from the DSN. | +| Option | Type | Default | Description | +| ------------------------- | --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `setupOtlpTracesExporter` | `boolean` | `true` | Automatically configure an exporter to send OTLP traces to the right project from the DSN or `collectorUrl`. Set to `false` to set up the `TracerProvider` manually. | +| `collectorUrl` | `string` | `undefined` | URL of your own OpenTelemetry collector. When set, traces are sent here instead of the Sentry OTLP endpoint derived from the DSN. | diff --git a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx index 75417420afe616..053bb83860a821 100644 --- a/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx +++ b/docs/platforms/javascript/common/opentelemetry/custom-setup.mdx @@ -40,7 +40,7 @@ If you are looking to simply add individual OpenTelemetry instrumentation to you - + If you don't need the full `@sentry/node` SDK and want a simpler way to bridge your existing OpenTelemetry setup with Sentry, consider using lightweight mode with the OTLP integration instead. It requires significantly less manual wiring. diff --git a/docs/platforms/javascript/common/profiling/index.mdx b/docs/platforms/javascript/common/profiling/index.mdx index 38e10b04e7699d..dfed1a004a9bce 100644 --- a/docs/platforms/javascript/common/profiling/index.mdx +++ b/docs/platforms/javascript/common/profiling/index.mdx @@ -4,6 +4,9 @@ sidebar_title: Profiling sidebar_order: 8 sidebar_section: features description: "Collect & view performance insights for JavaScript programs with Sentry's Profiling integrations. Get started with profiling to understand your application's performance." +supported: + - javascript + - javascript.elysia notSupported: - javascript.bun - javascript.cordova diff --git a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx index aa5af4955018b4..5f885fbcf659e9 100644 --- a/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx +++ b/platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx @@ -98,7 +98,11 @@ module.exports = { sourcemaps: { // As you're enabling client source maps, you probably want to delete them after they're uploaded to Sentry. // Set the appropriate glob pattern for your output folder - some glob examples below: - filesToDeleteAfterUpload: ["./**/*.map", ".*/**/public/**/*.map", "./dist/**/client/**/*.map"] + filesToDeleteAfterUpload: [ + "./**/*.map", + ".*/**/public/**/*.map", + "./dist/**/client/**/*.map", + ], }, // Auth tokens can be obtained from @@ -163,7 +167,11 @@ module.exports = { sourcemaps: { // As you're enabling client source maps, you probably want to delete them after they're uploaded to Sentry. // Set the appropriate glob pattern for your output folder - some glob examples below: - filesToDeleteAfterUpload: ["./**/*.map", ".*/**/public/**/*.map", "./dist/**/client/**/*.map"] + filesToDeleteAfterUpload: [ + "./**/*.map", + ".*/**/public/**/*.map", + "./dist/**/client/**/*.map", + ], }, release: { @@ -232,7 +240,11 @@ require("esbuild").build({ sourcemaps: { // As you're enabling client source maps, you probably want to delete them after they're uploaded to Sentry. // Set the appropriate glob pattern for your output folder - some glob examples below: - filesToDeleteAfterUpload: ["./**/*.map", ".*/**/public/**/*.map", "./dist/**/client/**/*.map"] + filesToDeleteAfterUpload: [ + "./**/*.map", + ".*/**/public/**/*.map", + "./dist/**/client/**/*.map", + ], }, release: { @@ -328,7 +340,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values. -If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. +If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the `rewriteFrames` integration`rewriteFrames` integration to change your `abs_path` values. #### Using sentry-cli