Skip to content

Commit fa3e583

Browse files
authored
refactor: migrate php to inline product options syntax (#13411)
1 parent 014f56f commit fa3e583

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/platforms/php/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,17 @@ The Excimer PHP extension supports PHP 7.2 and up. Excimer requires Linux or mac
4545
To capture all errors, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.
4646

4747

48-
```php {"onboardingOptions": {"performance": "3-4", "profiling": "5-6"}}
48+
```php
4949
\Sentry\init([
5050
'dsn' => '___PUBLIC_DSN___',
51+
// ___PRODUCT_OPTION_START___ performance
5152
// Specify a fixed sample rate
5253
'traces_sample_rate' => 1.0,
54+
// ___PRODUCT_OPTION_END___ performance
55+
// ___PRODUCT_OPTION_START___ profiling
5356
// Set a sampling rate for profiling - this is relative to traces_sample_rate
5457
'profiles_sample_rate' => 1.0,
58+
// ___PRODUCT_OPTION_END___ profiling
5559
]);
5660
```
5761

0 commit comments

Comments
 (0)