diff --git a/static/app/gettingStartedDocs/python/aiohttp.spec.tsx b/static/app/gettingStartedDocs/python/aiohttp.spec.tsx index 85751e67d57aa4..820de70cd410a4 100644 --- a/static/app/gettingStartedDocs/python/aiohttp.spec.tsx +++ b/static/app/gettingStartedDocs/python/aiohttp.spec.tsx @@ -28,7 +28,7 @@ describe('aiohttp onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('aiohttp onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -68,7 +68,7 @@ describe('aiohttp onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/aiohttp.tsx b/static/app/gettingStartedDocs/python/aiohttp.tsx index 1ea1616974d3fb..2a6364f828595c 100644 --- a/static/app/gettingStartedDocs/python/aiohttp.tsx +++ b/static/app/gettingStartedDocs/python/aiohttp.tsx @@ -41,10 +41,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/asgi.spec.tsx b/static/app/gettingStartedDocs/python/asgi.spec.tsx index ce282128ee3b36..8440a4eb63acf1 100644 --- a/static/app/gettingStartedDocs/python/asgi.spec.tsx +++ b/static/app/gettingStartedDocs/python/asgi.spec.tsx @@ -28,7 +28,7 @@ describe('asgi onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('asgi onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -66,7 +66,7 @@ describe('asgi onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/asgi.tsx b/static/app/gettingStartedDocs/python/asgi.tsx index a94aa3697ca889..824cfe3f02d3e1 100644 --- a/static/app/gettingStartedDocs/python/asgi.tsx +++ b/static/app/gettingStartedDocs/python/asgi.tsx @@ -39,10 +39,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/awslambda.spec.tsx b/static/app/gettingStartedDocs/python/awslambda.spec.tsx index 6055d560dbee96..ae9a40210a7363 100644 --- a/static/app/gettingStartedDocs/python/awslambda.spec.tsx +++ b/static/app/gettingStartedDocs/python/awslambda.spec.tsx @@ -28,7 +28,7 @@ describe('awslambda onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('awslambda onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -66,7 +66,7 @@ describe('awslambda onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/awslambda.tsx b/static/app/gettingStartedDocs/python/awslambda.tsx index a9e927720899ad..f74d867e15f32a 100644 --- a/static/app/gettingStartedDocs/python/awslambda.tsx +++ b/static/app/gettingStartedDocs/python/awslambda.tsx @@ -47,10 +47,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/bottle.spec.tsx b/static/app/gettingStartedDocs/python/bottle.spec.tsx index db3d20bee5ef8a..65f35d479c2d91 100644 --- a/static/app/gettingStartedDocs/python/bottle.spec.tsx +++ b/static/app/gettingStartedDocs/python/bottle.spec.tsx @@ -30,7 +30,7 @@ describe('bottle onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('bottle onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -70,7 +70,7 @@ describe('bottle onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/bottle.tsx b/static/app/gettingStartedDocs/python/bottle.tsx index 4819c85217a8eb..f441dbd0279724 100644 --- a/static/app/gettingStartedDocs/python/bottle.tsx +++ b/static/app/gettingStartedDocs/python/bottle.tsx @@ -39,10 +39,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/celery.spec.tsx b/static/app/gettingStartedDocs/python/celery.spec.tsx index e321bc131fc82a..79e1e426c1d40f 100644 --- a/static/app/gettingStartedDocs/python/celery.spec.tsx +++ b/static/app/gettingStartedDocs/python/celery.spec.tsx @@ -32,7 +32,7 @@ describe('celery onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -58,7 +58,7 @@ describe('celery onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -77,7 +77,7 @@ describe('celery onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/celery.tsx b/static/app/gettingStartedDocs/python/celery.tsx index 7ddfd278dce121..09657c8223ece9 100644 --- a/static/app/gettingStartedDocs/python/celery.tsx +++ b/static/app/gettingStartedDocs/python/celery.tsx @@ -40,10 +40,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : '' } )${ diff --git a/static/app/gettingStartedDocs/python/chalice.spec.tsx b/static/app/gettingStartedDocs/python/chalice.spec.tsx index a8a0f8376ef817..14fb35f2f56891 100644 --- a/static/app/gettingStartedDocs/python/chalice.spec.tsx +++ b/static/app/gettingStartedDocs/python/chalice.spec.tsx @@ -30,7 +30,7 @@ describe('chalice onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('chalice onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -68,7 +68,7 @@ describe('chalice onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/chalice.tsx b/static/app/gettingStartedDocs/python/chalice.tsx index 16a6de1933d200..ba5bdc22e24db4 100644 --- a/static/app/gettingStartedDocs/python/chalice.tsx +++ b/static/app/gettingStartedDocs/python/chalice.tsx @@ -37,10 +37,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/django.spec.tsx b/static/app/gettingStartedDocs/python/django.spec.tsx index 6e470ef6007dd6..9f8563a6d68dfd 100644 --- a/static/app/gettingStartedDocs/python/django.spec.tsx +++ b/static/app/gettingStartedDocs/python/django.spec.tsx @@ -30,7 +30,7 @@ describe('django onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('django onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -68,7 +68,7 @@ describe('django onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/django.tsx b/static/app/gettingStartedDocs/python/django.tsx index 79fe4506258516..756f28de8bbd0a 100644 --- a/static/app/gettingStartedDocs/python/django.tsx +++ b/static/app/gettingStartedDocs/python/django.tsx @@ -39,10 +39,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/falcon.spec.tsx b/static/app/gettingStartedDocs/python/falcon.spec.tsx index ca0baa47f613b8..3e5cde86048cd3 100644 --- a/static/app/gettingStartedDocs/python/falcon.spec.tsx +++ b/static/app/gettingStartedDocs/python/falcon.spec.tsx @@ -30,7 +30,7 @@ describe('falcon onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('falcon onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -70,7 +70,7 @@ describe('falcon onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/falcon.tsx b/static/app/gettingStartedDocs/python/falcon.tsx index beddce952c5acd..ca8bcf9d95f5df 100644 --- a/static/app/gettingStartedDocs/python/falcon.tsx +++ b/static/app/gettingStartedDocs/python/falcon.tsx @@ -40,10 +40,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/fastapi.spec.tsx b/static/app/gettingStartedDocs/python/fastapi.spec.tsx index 8379c1e84e7ef1..f0b25b212f3cdd 100644 --- a/static/app/gettingStartedDocs/python/fastapi.spec.tsx +++ b/static/app/gettingStartedDocs/python/fastapi.spec.tsx @@ -30,7 +30,7 @@ describe('flask onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('flask onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -68,7 +68,7 @@ describe('flask onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/fastapi.tsx b/static/app/gettingStartedDocs/python/fastapi.tsx index 312b3e3e0b568e..24285547831c83 100644 --- a/static/app/gettingStartedDocs/python/fastapi.tsx +++ b/static/app/gettingStartedDocs/python/fastapi.tsx @@ -42,10 +42,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/flask.spec.tsx b/static/app/gettingStartedDocs/python/flask.spec.tsx index 2825ce798e5d2e..8f061729d90dba 100644 --- a/static/app/gettingStartedDocs/python/flask.spec.tsx +++ b/static/app/gettingStartedDocs/python/flask.spec.tsx @@ -30,7 +30,7 @@ describe('flask onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('flask onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -70,7 +70,7 @@ describe('flask onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/flask.tsx b/static/app/gettingStartedDocs/python/flask.tsx index f481812870267a..4e5e84f4adadc9 100644 --- a/static/app/gettingStartedDocs/python/flask.tsx +++ b/static/app/gettingStartedDocs/python/flask.tsx @@ -42,10 +42,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/gcpfunctions.spec.tsx b/static/app/gettingStartedDocs/python/gcpfunctions.spec.tsx index b61810e90c171f..a8b36b490879e0 100644 --- a/static/app/gettingStartedDocs/python/gcpfunctions.spec.tsx +++ b/static/app/gettingStartedDocs/python/gcpfunctions.spec.tsx @@ -28,7 +28,7 @@ describe('gcpfunctions onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('gcpfunctions onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -66,7 +66,7 @@ describe('gcpfunctions onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/gcpfunctions.tsx b/static/app/gettingStartedDocs/python/gcpfunctions.tsx index a4887e3f31e1d1..8e362827e76fe3 100644 --- a/static/app/gettingStartedDocs/python/gcpfunctions.tsx +++ b/static/app/gettingStartedDocs/python/gcpfunctions.tsx @@ -41,10 +41,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/python.spec.tsx b/static/app/gettingStartedDocs/python/python.spec.tsx index f410877e530330..3e4d045d6ee898 100644 --- a/static/app/gettingStartedDocs/python/python.spec.tsx +++ b/static/app/gettingStartedDocs/python/python.spec.tsx @@ -28,7 +28,7 @@ describe('python onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -54,7 +54,7 @@ describe('python onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -73,7 +73,7 @@ describe('python onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/python.tsx b/static/app/gettingStartedDocs/python/python.tsx index b2d73f7377cff0..6cceecf37eb2f2 100644 --- a/static/app/gettingStartedDocs/python/python.tsx +++ b/static/app/gettingStartedDocs/python/python.tsx @@ -142,10 +142,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : '' } )${ diff --git a/static/app/gettingStartedDocs/python/quart.spec.tsx b/static/app/gettingStartedDocs/python/quart.spec.tsx index e133ac97a913d7..8110fe982399cf 100644 --- a/static/app/gettingStartedDocs/python/quart.spec.tsx +++ b/static/app/gettingStartedDocs/python/quart.spec.tsx @@ -30,7 +30,7 @@ describe('quart onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('quart onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -70,7 +70,7 @@ describe('quart onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/quart.tsx b/static/app/gettingStartedDocs/python/quart.tsx index 333bbf49f40b0a..846fba5a1dc939 100644 --- a/static/app/gettingStartedDocs/python/quart.tsx +++ b/static/app/gettingStartedDocs/python/quart.tsx @@ -42,10 +42,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/rq.spec.tsx b/static/app/gettingStartedDocs/python/rq.spec.tsx index 30f0dc51a17790..9ffaab8430a819 100644 --- a/static/app/gettingStartedDocs/python/rq.spec.tsx +++ b/static/app/gettingStartedDocs/python/rq.spec.tsx @@ -33,7 +33,7 @@ describe('rq onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -59,7 +59,7 @@ describe('rq onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -80,7 +80,7 @@ describe('rq onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/rq.tsx b/static/app/gettingStartedDocs/python/rq.tsx index 4731f2ce4f7157..70366bf7f124d6 100644 --- a/static/app/gettingStartedDocs/python/rq.tsx +++ b/static/app/gettingStartedDocs/python/rq.tsx @@ -33,10 +33,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : '' } )${ diff --git a/static/app/gettingStartedDocs/python/serverless.spec.tsx b/static/app/gettingStartedDocs/python/serverless.spec.tsx index dfed373f619aba..555109c4b439f9 100644 --- a/static/app/gettingStartedDocs/python/serverless.spec.tsx +++ b/static/app/gettingStartedDocs/python/serverless.spec.tsx @@ -28,7 +28,7 @@ describe('serverless onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('serverless onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -66,7 +66,7 @@ describe('serverless onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/serverless.tsx b/static/app/gettingStartedDocs/python/serverless.tsx index 864f57d6ce87de..92b2c05b70febb 100644 --- a/static/app/gettingStartedDocs/python/serverless.tsx +++ b/static/app/gettingStartedDocs/python/serverless.tsx @@ -37,10 +37,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/starlette.spec.tsx b/static/app/gettingStartedDocs/python/starlette.spec.tsx index ab226e5d5ef846..c0e5d6fa317d52 100644 --- a/static/app/gettingStartedDocs/python/starlette.spec.tsx +++ b/static/app/gettingStartedDocs/python/starlette.spec.tsx @@ -30,7 +30,7 @@ describe('starlette onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -49,7 +49,7 @@ describe('starlette onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -70,7 +70,7 @@ describe('starlette onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/starlette.tsx b/static/app/gettingStartedDocs/python/starlette.tsx index 59cf9dc5b1c1a5..7b830e2ddfeb19 100644 --- a/static/app/gettingStartedDocs/python/starlette.tsx +++ b/static/app/gettingStartedDocs/python/starlette.tsx @@ -40,10 +40,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/tornado.spec.tsx b/static/app/gettingStartedDocs/python/tornado.spec.tsx index 11f1386ee740c0..98434383ab8c81 100644 --- a/static/app/gettingStartedDocs/python/tornado.spec.tsx +++ b/static/app/gettingStartedDocs/python/tornado.spec.tsx @@ -28,7 +28,7 @@ describe('tornado onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('tornado onboarding docs', function () { // Does render transaction profiling config const matches = screen.getAllByText( - textWithMarkupMatcher(/profiles_sample_rate=1\.0,/) + textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/) ); expect(matches.length).toBeGreaterThan(0); matches.forEach(match => expect(match).toBeInTheDocument()); @@ -68,7 +68,7 @@ describe('tornado onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate: 1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate: 1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/tornado.tsx b/static/app/gettingStartedDocs/python/tornado.tsx index bc14906b8374d5..12201442eaed39 100644 --- a/static/app/gettingStartedDocs/python/tornado.tsx +++ b/static/app/gettingStartedDocs/python/tornado.tsx @@ -39,10 +39,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/tryton.spec.tsx b/static/app/gettingStartedDocs/python/tryton.spec.tsx index d1d9a4cafb24ef..9bdbb4e4af4697 100644 --- a/static/app/gettingStartedDocs/python/tryton.spec.tsx +++ b/static/app/gettingStartedDocs/python/tryton.spec.tsx @@ -21,7 +21,7 @@ describe('tryton onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -40,7 +40,7 @@ describe('tryton onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -59,7 +59,7 @@ describe('tryton onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/tryton.tsx b/static/app/gettingStartedDocs/python/tryton.tsx index d92cd54579dd0c..9747e974e0f0c0 100644 --- a/static/app/gettingStartedDocs/python/tryton.tsx +++ b/static/app/gettingStartedDocs/python/tryton.tsx @@ -33,10 +33,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? ` diff --git a/static/app/gettingStartedDocs/python/wsgi.spec.tsx b/static/app/gettingStartedDocs/python/wsgi.spec.tsx index 7de64f834b160b..52b9162d75ae8e 100644 --- a/static/app/gettingStartedDocs/python/wsgi.spec.tsx +++ b/static/app/gettingStartedDocs/python/wsgi.spec.tsx @@ -28,7 +28,7 @@ describe('wsgi onboarding docs', function () { // Does not render config option expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does not render config option @@ -47,7 +47,7 @@ describe('wsgi onboarding docs', function () { // Does render transaction profiling config expect( - screen.getByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.getByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).toBeInTheDocument(); }); @@ -66,7 +66,7 @@ describe('wsgi onboarding docs', function () { // Does not render transaction profiling config expect( - screen.queryByText(textWithMarkupMatcher(/profiles_sample_rate=1\.0,/)) + screen.queryByText(textWithMarkupMatcher(/profile_session_sample_rate=1\.0,/)) ).not.toBeInTheDocument(); // Does render continuous profiling config diff --git a/static/app/gettingStartedDocs/python/wsgi.tsx b/static/app/gettingStartedDocs/python/wsgi.tsx index 3f6ec2b2208c8f..3816305d341515 100644 --- a/static/app/gettingStartedDocs/python/wsgi.tsx +++ b/static/app/gettingStartedDocs/python/wsgi.tsx @@ -39,10 +39,10 @@ sentry_sdk.init( params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode !== 'continuous' ? ` - # Set profiles_sample_rate to 1.0 to profile 100% + # Set profile_session_sample_rate to 1.0 to profile 100% # of sampled transactions. # We recommend adjusting this value in production. - profiles_sample_rate=1.0,` + profile_session_sample_rate=1.0,` : params.isProfilingSelected && params.profilingOptions?.defaultProfilingMode === 'continuous' ? `