Skip to content

Commit

Permalink
Clean up Symfony options (#12375)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Jan 17, 2025
1 parent 3265ef6 commit b5ae041
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions docs/platforms/php/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@ The maximum execution time, in seconds, for the request+response as a whole. The

## Tracing Options

<ConfigKey name="enable-tracing">

A boolean value, if true, transactions and trace data will be generated and captured. This will set the `traces-sample-rate` to the recommended default of 1.0 if `traces-sample-rate` is not defined. Note that `traces-sample-rate` and `traces-sampler` take precedence over this option.

</ConfigKey>

<ConfigKey name="traces-sample-rate">

A number between 0 and 1, controlling the percentage chance a given transaction will be sent to Sentry. (0 represents 0% while 1 represents 100%.) Applies equally to all transactions created in the app. Either this or <PlatformIdentifier name="traces-sampler" /> must be defined to enable tracing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ sentry:
prefixes:
- "/local_dir/"
sample_rate: 1
enable_tracing: true
traces_sample_rate: 1
traces_sampler: "sentry.callback.traces_sampler"
profiles_sample_rate: 1
attach_stacktrace: true
attach_metric_code_locations: true
context_lines: 5
Expand Down

0 comments on commit b5ae041

Please sign in to comment.