Skip to content

Commit 9099805

Browse files
authored
fix(onboarding): add install section to tryton onboarding (#89272)
- Noticed during the update of Python profiling onboardings that Tryton didn't have an install section. This PR adds one.
1 parent 7ccde16 commit 9099805

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

static/app/gettingStartedDocs/python/tryton.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,25 @@ def _(app, request, e):
6969
data = UserError('Custom message', f'{event_id}{e}')
7070
return app.make_response(request, data)`;
7171

72+
const getInstallSnippet = () => `pip install 'sentry-sdk'`;
73+
7274
const onboarding: OnboardingConfig = {
7375
introduction: () =>
7476
tct('The Tryton integration adds support for the [link:Tryton Framework Server].', {
7577
link: <ExternalLink href="https://www.tryton.org/" />,
7678
}),
77-
install: () => [],
79+
install: () => [
80+
{
81+
type: StepType.INSTALL,
82+
description: t('Install the Sentry Python SDK package:'),
83+
configurations: [
84+
{
85+
language: 'bash',
86+
code: getInstallSnippet(),
87+
},
88+
],
89+
},
90+
],
7891
configure: (params: Params) => [
7992
{
8093
type: StepType.CONFIGURE,

0 commit comments

Comments
 (0)