Skip to content

Commit

Permalink
fix: Clarify string vs regex usage of ignoreErrors/`ignoreTransacti…
Browse files Browse the repository at this point in the history
…ons` (#7668)
  • Loading branch information
mydea committed Aug 21, 2023
1 parent 728eae3 commit c71bbd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/common/configuration/filtering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ In this example, the fingerprint is forced to a common value if an exception of

### Using <PlatformIdentifier name="ignore-errors" />

You can use the <PlatformIdentifier name="ignore-errors" /> option to filter out errors that match a certain pattern. This option receives a list of strings and regular expressions to match against the error message.
You can use the <PlatformIdentifier name="ignore-errors" /> option to filter out errors that match a certain pattern. This option receives a list of strings and regular expressions to match against the error message. When using strings, partial matches will be filtered out, so if you need to filter by exact match, use regex patterns instead.

<PlatformContent includePath="configuration/ignore-errors" />
</PlatformSection>
Expand Down Expand Up @@ -124,7 +124,7 @@ Learn more about <PlatformLink to="/configuration/sampling/">configuring the sam

### Using <PlatformIdentifier name="ignore-transactions" />

You can use the <PlatformIdentifier name="ignore-transactions" /> option to filter out transactions that match a certain pattern. This option receives a list of strings and regular expressions to match against the transaction name.
You can use the <PlatformIdentifier name="ignore-transactions" /> option to filter out transactions that match a certain pattern. This option receives a list of strings and regular expressions to match against the transaction name. When using strings, partial matches will be filtered out, so if you need to filter by exact match, use regex patterns instead.

<PlatformContent includePath="configuration/ignore-transactions" />
</PlatformSection>
Expand Down

1 comment on commit c71bbd7

@vercel
Copy link

@vercel vercel bot commented on c71bbd7 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.