{tct(
'It is recommended to use an [link:integration for your particular WSGI framework if available], as those are easier to use and capture more useful information.',
{
link: (
{t( 'If you use a WSGI framework not directly supported by the SDK, or wrote a raw WSGI app, you can use this generic WSGI middleware. It captures errors and attaches a basic amount of information for incoming requests.' )}
,
}),
configurations: [
{
description: params.isProfilingSelected
? tct(
'You need a minimum version [codeVersion:1.18.0] of the [codePackage:sentry-python] SDK for the profiling feature.',
{
codeVersion:
,
codePackage:
,
}
)
: undefined,
language: 'bash',
code: getInstallSnippet(),
},
],
},
],
configure: params => [
{
type: StepType.CONFIGURE,
description: t(
'Then you can use this generic WSGI middleware. It captures errors and attaches a basic amount of information for incoming requests.'
),
configurations: [
{
language: 'python',
code: getSdkSetupSnippet(params),
},
],
},
],
verify: () => [
{
type: StepType.VERIFY,
description: t(
'You can easily verify your Sentry installation by creating a route that triggers an error:'
),
configurations: [
{
language: 'python',
code: getVerifySnippet(),
},
],
additionalInfo: (
{tct(
'When you point your browser to [link:http://localhost:8000/] a transaction in the Performance section of Sentry will be created.',
{
link:
{t( 'Additionally, an error event will be sent to Sentry and will be connected to the transaction.' )}
{t('It takes a couple of moments for the data to appear in Sentry.')}