Skip to content

Commit 8275c9e

Browse files
AbhiPrasadlzhao-sentry
authored andcommitted
1 parent ab17353 commit 8275c9e

36 files changed

+1002
-87
lines changed

static/app/components/onboarding/productSelection.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,7 @@ export const platformProductAvailability = {
193193
ProductSolution.PROFILING,
194194
ProductSolution.LOGS,
195195
],
196-
'node-awslambda': [
197-
ProductSolution.PERFORMANCE_MONITORING,
198-
ProductSolution.PROFILING,
199-
ProductSolution.LOGS,
200-
],
196+
'node-awslambda': [ProductSolution.PERFORMANCE_MONITORING, ProductSolution.PROFILING],
201197
'node-connect': [
202198
ProductSolution.PERFORMANCE_MONITORING,
203199
ProductSolution.PROFILING,

static/app/data/platformCategories.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,19 @@ export const withoutPerformanceSupport: Set<PlatformKey> = new Set([
308308
export const withLoggingOnboarding: Set<PlatformKey> = new Set([
309309
'javascript',
310310
'javascript-angular',
311+
'javascript-astro',
311312
'javascript-ember',
312313
'javascript-gatsby',
314+
'javascript-nextjs',
315+
'javascript-nuxt',
313316
'javascript-react',
317+
'javascript-react-router',
318+
'javascript-remix',
314319
'javascript-solid',
320+
'javascript-solidstart',
315321
'javascript-svelte',
322+
'javascript-sveltekit',
323+
'javascript-tanstackstart-react',
316324
'javascript-vue',
317325
'python',
318326
'python-aiohttp',
@@ -336,6 +344,17 @@ export const withLoggingOnboarding: Set<PlatformKey> = new Set([
336344
'python-tornado',
337345
'python-tryton',
338346
'python-wsgi',
347+
'node',
348+
'node-azurefunctions',
349+
'node-connect',
350+
'node-cloudflare-pages',
351+
'node-cloudflare-workers',
352+
'node-express',
353+
'node-fastify',
354+
'node-gcpfunctions',
355+
'node-hapi',
356+
'node-koa',
357+
'node-nestjs',
339358
]);
340359

341360
// List of platforms that do not have logging support. We make use of this list in the product to not provide any Logging

static/app/gettingStartedDocs/javascript/astro.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import {
2424
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2525
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2626
import {t, tct} from 'sentry/locale';
27-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
27+
import {
28+
getJavascriptFullStackOnboarding,
29+
getJavascriptLogsFullStackOnboarding,
30+
} from 'sentry/utils/gettingStartedDocs/javascript';
2831

2932
type Params = DocsParams;
3033

@@ -540,6 +543,10 @@ const docs: Docs = {
540543
replayOnboarding,
541544
crashReportOnboarding,
542545
featureFlagOnboarding,
546+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
547+
docsPlatform: 'astro',
548+
sdkPackage: '@sentry/astro',
549+
}),
543550
profilingOnboarding,
544551
};
545552

static/app/gettingStartedDocs/javascript/nextjs.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ import {
2828
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2929
import {t, tct} from 'sentry/locale';
3030
import {space} from 'sentry/styles/space';
31-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
31+
import {
32+
getJavascriptFullStackOnboarding,
33+
getJavascriptLogsFullStackOnboarding,
34+
} from 'sentry/utils/gettingStartedDocs/javascript';
3235
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
3336

3437
type Params = DocsParams;
@@ -585,6 +588,10 @@ const docs: Docs = {
585588
crashReportOnboarding,
586589
featureFlagOnboarding,
587590
profilingOnboarding,
591+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
592+
docsPlatform: 'nextjs',
593+
sdkPackage: '@sentry/nextjs',
594+
}),
588595
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding({
589596
basePackage: 'nextjs',
590597
}),

static/app/gettingStartedDocs/javascript/nuxt.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import {
2424
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2525
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2626
import {t, tct, tctCode} from 'sentry/locale';
27-
import {getJavascriptProfilingOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
27+
import {
28+
getJavascriptLogsFullStackOnboarding,
29+
getJavascriptProfilingOnboarding,
30+
} from 'sentry/utils/gettingStartedDocs/javascript';
2831

2932
type Params = DocsParams;
3033

@@ -273,6 +276,10 @@ const docs: Docs = {
273276
crashReportOnboarding,
274277
profilingOnboarding,
275278
featureFlagOnboarding,
279+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
280+
docsPlatform: 'nuxt',
281+
sdkPackage: '@sentry/nuxt',
282+
}),
276283
};
277284

278285
export default docs;

static/app/gettingStartedDocs/javascript/react-router.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ import {
2020
getReplayVerifyStep,
2121
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2222
import {t, tct} from 'sentry/locale';
23-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
23+
import {
24+
getJavascriptFullStackOnboarding,
25+
getJavascriptLogsFullStackOnboarding,
26+
} from 'sentry/utils/gettingStartedDocs/javascript';
2427
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
2528

2629
type Params = DocsParams;
@@ -539,6 +542,10 @@ const docs: Docs = {
539542
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding({
540543
basePackage: 'react-router',
541544
}),
545+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
546+
docsPlatform: 'react-router',
547+
sdkPackage: '@sentry/react-router',
548+
}),
542549
};
543550

544551
export default docs;

static/app/gettingStartedDocs/javascript/remix.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ import {
2626
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2727
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2828
import {t, tct} from 'sentry/locale';
29-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
29+
import {
30+
getJavascriptFullStackOnboarding,
31+
getJavascriptLogsFullStackOnboarding,
32+
} from 'sentry/utils/gettingStartedDocs/javascript';
3033
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
3134

3235
type Params = DocsParams;
@@ -279,6 +282,10 @@ const docs: Docs = {
279282
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding({
280283
basePackage: 'remix',
281284
}),
285+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
286+
docsPlatform: 'remix',
287+
sdkPackage: '@sentry/remix',
288+
}),
282289
};
283290

284291
export default docs;

static/app/gettingStartedDocs/javascript/solidstart.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ import {
2525
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2626
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2727
import {t, tct} from 'sentry/locale';
28-
import {getJavascriptProfilingOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
28+
import {
29+
getJavascriptLogsFullStackOnboarding,
30+
getJavascriptProfilingOnboarding,
31+
} from 'sentry/utils/gettingStartedDocs/javascript';
2932
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
3033

3134
type Params = DocsParams;
@@ -556,6 +559,10 @@ const docs: Docs = {
556559
featureFlagOnboarding,
557560
profilingOnboarding,
558561
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding(),
562+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
563+
docsPlatform: 'solidstart',
564+
sdkPackage: '@sentry/solidstart',
565+
}),
559566
};
560567

561568
export default docs;

static/app/gettingStartedDocs/javascript/sveltekit.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import {
2424
} from 'sentry/components/onboarding/gettingStartedDoc/utils/replayOnboarding';
2525
import {featureFlagOnboarding} from 'sentry/gettingStartedDocs/javascript/javascript';
2626
import {t, tct} from 'sentry/locale';
27-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
27+
import {
28+
getJavascriptFullStackOnboarding,
29+
getJavascriptLogsFullStackOnboarding,
30+
} from 'sentry/utils/gettingStartedDocs/javascript';
2831
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
2932

3033
type Params = DocsParams;
@@ -245,6 +248,10 @@ const docs: Docs = {
245248
featureFlagOnboarding,
246249
profilingOnboarding,
247250
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding(),
251+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
252+
docsPlatform: 'sveltekit',
253+
sdkPackage: '@sentry/sveltekit',
254+
}),
248255
};
249256

250257
export default docs;

static/app/gettingStartedDocs/javascript/tanstackstart-react.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import type {
55
} from 'sentry/components/onboarding/gettingStartedDoc/types';
66
import {StepType} from 'sentry/components/onboarding/gettingStartedDoc/types';
77
import {t, tct} from 'sentry/locale';
8-
import {getJavascriptFullStackOnboarding} from 'sentry/utils/gettingStartedDocs/javascript';
8+
import {
9+
getJavascriptFullStackOnboarding,
10+
getJavascriptLogsFullStackOnboarding,
11+
} from 'sentry/utils/gettingStartedDocs/javascript';
912
import {getNodeAgentMonitoringOnboarding} from 'sentry/utils/gettingStartedDocs/node';
1013

1114
type Params = DocsParams;
@@ -497,6 +500,10 @@ const docs: Docs = {
497500
agentMonitoringOnboarding: getNodeAgentMonitoringOnboarding({
498501
basePackage: 'tanstackstart-react',
499502
}),
503+
logsOnboarding: getJavascriptLogsFullStackOnboarding({
504+
docsPlatform: 'tanstackstart-react',
505+
sdkPackage: '@sentry/tanstackstart-react',
506+
}),
500507
};
501508

502509
export default docs;

0 commit comments

Comments
 (0)