Skip to content

Commit

Permalink
Added some missing config options (#10546)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Jun 28, 2024
1 parent 932dc22 commit 9bfd4f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/platforms/python/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ The `environment` config option takes precedence over the environment variable.

</ConfigKey>

<ConfigKey name="dist">

The distribution of the application. Distributions are used to disambiguate build or deployment variants of the same release of an application. The dist can be for example a build number.

</ConfigKey>

<ConfigKey name="sample-rate">

Configures the sample rate for error events, in the range of `0.0` to `1.0`. The default is `1.0`, which means that 100% of error events will be sent. If set to `0.1`, only 10% of error events will be sent. Events are picked randomly.
Expand Down Expand Up @@ -133,6 +139,14 @@ Most SDKs will attempt to auto-discover this value.

</ConfigKey>

<ConfigKey name="project_root">

The full path to the root directory of your application. Defaults to `os.getcwd()`.

The `project_root` is used to mark frames in a stack trace either as being in your application or outside of the application.

</ConfigKey>

<ConfigKey name="in-app-include">

A list of string prefixes of module names that belong to the app. This option takes precedence over `in-app-exclude`.
Expand Down

0 comments on commit 9bfd4f8

Please sign in to comment.