11import { ExternalLink } from 'sentry/components/core/link' ;
22import type {
3- Docs ,
43 DocsParams ,
54 OnboardingConfig ,
65} from 'sentry/components/onboarding/gettingStartedDoc/types' ;
76import { StepType } from 'sentry/components/onboarding/gettingStartedDoc/types' ;
8- import { agentMonitoring } from 'sentry/gettingStartedDocs/python/python/agentMonitoring' ;
9- import { crashReport } from 'sentry/gettingStartedDocs/python/python/crashReport' ;
10- import { logs } from 'sentry/gettingStartedDocs/python/python/logs' ;
11- import { mcp } from 'sentry/gettingStartedDocs/python/python/mcp' ;
127import { alternativeProfiling } from 'sentry/gettingStartedDocs/python/python/profiling' ;
138import { getPythonInstallCodeBlock } from 'sentry/gettingStartedDocs/python/python/utils' ;
149import { t , tct } from 'sentry/locale' ;
1510
16- type Params = DocsParams ;
17-
18- const getSdkSetupSnippet = ( params : Params ) => `
11+ const getSdkSetupSnippet = ( params : DocsParams ) => `
1912import sentry_sdk
2013from sentry_sdk.integrations.trytond import TrytondWSGIIntegration
2114
@@ -77,7 +70,7 @@ def _(app, request, e):
7770 data = UserError('Custom message', f'{event_id}{e}')
7871 return app.make_response(request, data)` ;
7972
80- const onboarding : OnboardingConfig = {
73+ export const onboarding : OnboardingConfig = {
8174 introduction : ( ) =>
8275 tct ( 'The Tryton integration adds support for the [link:Tryton Framework Server].' , {
8376 link : < ExternalLink href = "https://www.tryton.org/" /> ,
@@ -96,7 +89,7 @@ const onboarding: OnboardingConfig = {
9689 ] ,
9790 } ,
9891 ] ,
99- configure : ( params : Params ) => [
92+ configure : ( params : DocsParams ) => [
10093 {
10194 type : StepType . CONFIGURE ,
10295 content : [
@@ -141,32 +134,3 @@ const onboarding: OnboardingConfig = {
141134 ] ,
142135 verify : ( ) => [ ] ,
143136} ;
144-
145- const profilingOnboarding : OnboardingConfig = {
146- install : onboarding . install ,
147- configure : onboarding . configure ,
148- verify : ( ) => [
149- {
150- type : StepType . VERIFY ,
151- content : [
152- {
153- type : 'text' ,
154- text : t (
155- 'Verify that profiling is working correctly by simply using your application.'
156- ) ,
157- } ,
158- ] ,
159- } ,
160- ] ,
161- } ;
162-
163- const docs : Docs = {
164- onboarding,
165- profilingOnboarding,
166- crashReportOnboarding : crashReport ,
167- agentMonitoringOnboarding : agentMonitoring ,
168- mcpOnboarding : mcp ,
169- logsOnboarding : logs ( ) ,
170- } ;
171-
172- export default docs ;
0 commit comments