Skip to content

Commit 06c0116

Browse files
authored
Update filtering.mdx
1 parent e85c779 commit 06c0116

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

docs/platforms/rust/common/configuration/filtering.mdx

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,8 @@ All Sentry SDKs support the <PlatformIdentifier name="before-send" /> callback m
2222

2323
Note also that breadcrumbs can be filtered, as discussed in [our Breadcrumbs documentation](/product/error-monitoring/breadcrumbs/).
2424

25-
### Using Hints
26-
27-
Hints are available in two places:
28-
29-
1. <PlatformIdentifier name="before-send" /> / <PlatformIdentifier name="before-breadcrumb" />
30-
2. `eventProcessors`
31-
32-
Event and breadcrumb `hints` are objects containing various information used to put together an event or a breadcrumb. Typically `hints` hold the original exception so that additional data can be extracted or grouping can be affected.
33-
34-
For events, hints contain properties such as `event_id`, `originalException`, `syntheticException` (used internally to generate cleaner stack trace), and any other arbitrary `data` that you attach.
35-
36-
For breadcrumbs, the use of `hints` depends on the type of breadcrumb.
37-
3825
<PlatformContent includePath="configuration/before-send-fingerprint">
3926

4027
In this example, the fingerprint is forced to a common value if an exception of a certain type has been caught:
4128

4229
</PlatformContent>
43-
44-
#### Hints for Events
45-
46-
`originalException`
47-
48-
The original exception that caused the Sentry SDK to create the event. This is useful for changing how the Sentry SDK groups events or to extract additional information.
49-
50-
`syntheticException`
51-
52-
When a string or a non-error object is raised, Sentry creates a synthetic exception so you can get a basic stack trace. This exception is stored here for further data extraction.
53-
54-
#### Hints for Breadcrumbs
55-
56-
<PlatformContent includePath="configuration/breadcrumb-hints" />

0 commit comments

Comments
 (0)