Skip to content

Commit 6c990c4

Browse files
ref(onboarding): Remove duplicate performance onboarding for django (#103148)
this code now lives in https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/python/django/performance.tsx
1 parent d3e1ff0 commit 6c990c4

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

static/app/gettingStartedDocs/python/django/onboarding.tsx

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -153,75 +153,3 @@ urlpatterns = [
153153
return steps;
154154
},
155155
};
156-
157-
export const performanceOnboarding: OnboardingConfig = {
158-
introduction: () =>
159-
t(
160-
"Adding Performance to your Django project is simple. Make sure you've got these basics down."
161-
),
162-
install: onboarding.install,
163-
configure: params => [
164-
{
165-
type: StepType.CONFIGURE,
166-
content: [
167-
{
168-
type: 'text',
169-
text: tct(
170-
'To configure the Sentry SDK, initialize it in your [code:settings.py] file:',
171-
{code: <code />}
172-
),
173-
},
174-
{
175-
type: 'code',
176-
language: 'python',
177-
code: `
178-
import sentry_sdk
179-
180-
sentry_sdk.init(
181-
dsn: "${params.dsn.public}",
182-
183-
// Set traces_sample_rate to 1.0 to capture 100%
184-
// of transactions for performance monitoring.
185-
traces_sample_rate=1.0,
186-
)`,
187-
},
188-
{
189-
type: 'text',
190-
text: tct(
191-
'Learn more about tracing [linkTracingOptions:options], how to use the [linkTracesSampler:traces_sampler] function, or how to do [linkSampleTransactions:sampling].',
192-
{
193-
linkTracingOptions: (
194-
<ExternalLink href="https://docs.sentry.io/platforms/python/configuration/options/#tracing-options" />
195-
),
196-
linkTracesSampler: (
197-
<ExternalLink href="https://docs.sentry.io/platforms/python/configuration/sampling/" />
198-
),
199-
linkSampleTransactions: (
200-
<ExternalLink href="https://docs.sentry.io/platforms/python/configuration/sampling/" />
201-
),
202-
}
203-
),
204-
},
205-
],
206-
},
207-
],
208-
verify: () => [
209-
{
210-
type: StepType.VERIFY,
211-
content: [
212-
{
213-
type: 'text',
214-
text: tct(
215-
'Verify that performance monitoring is working correctly with our [link:automatic instrumentation] by simply using your Python application.',
216-
{
217-
link: (
218-
<ExternalLink href="https://docs.sentry.io/platforms/python/tracing/instrumentation/automatic-instrumentation/" />
219-
),
220-
}
221-
),
222-
},
223-
],
224-
},
225-
],
226-
nextSteps: () => [],
227-
};

0 commit comments

Comments
 (0)