Skip to content

Commit 1d0c73a

Browse files
committed
Update note about local development and testing
1 parent 805e7eb commit 1d0c73a

File tree

5 files changed

+11
-19
lines changed

5 files changed

+11
-19
lines changed

docs/platforms/php/guides/laravel/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ Performance data is transmitted using a new event type called "transactions", wh
105105

106106
## Local Development and Testing
107107

108-
When Sentry is installed in your application, it will also be active when you are developing or running tests.
108+
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.
109109

110-
You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
110+
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
111111

112112
You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.
113113

114-
If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
114+
If you want to use Sentry in your local development environment, you can use [Spotlight](https://spotlightjs.com/) which runs locally on your machine.
115115

116116
## Set up Sentry through Forge
117117

docs/platforms/php/guides/laravel/other-versions/laravel5.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.
9292

9393
## Local Development and Testing
9494

95-
When Sentry is installed in your application, it will also be active when you are developing or running tests.
95+
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.
9696

97-
You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
97+
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
9898

9999
You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.
100100

101-
If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
102-
103101
<PageGrid nextPages header="Next Steps" />

docs/platforms/php/guides/laravel/other-versions/laravel6-7.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.
8686

8787
## Local Development and Testing
8888

89-
When Sentry is installed in your application, it will also be active when you are developing or running tests.
89+
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.
9090

91-
You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
91+
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
9292

9393
You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.
9494

95-
If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
96-
9795
<PageGrid nextPages header="Next Steps" />

docs/platforms/php/guides/laravel/other-versions/laravel8-10.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,8 @@ Performance data is transmitted using a new event type called "transactions", wh
9494

9595
## Local Development and Testing
9696

97-
When Sentry is installed in your application, it will also be active when you are developing or running tests.
97+
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.
9898

99-
You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
99+
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
100100

101101
You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.
102-
103-
If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.

docs/platforms/php/guides/laravel/other-versions/lumen.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.
8080

8181
## Local Development and Testing
8282

83-
When Sentry is installed in your application, it will also be active when you are developing or running tests.
83+
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.
8484

85-
You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
85+
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
8686

8787
You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.
8888

89-
If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
90-
9189
<PageGrid nextPages header="Next Steps" />

0 commit comments

Comments
 (0)