You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this feature isn't currently supported for Ruby or most of its frameworks, it is supported for [Rails](/platforms/ruby/guides/rails/user-feedback/).
Our embeddable, JavaScript-based, Crash-Report modal is useful when you would typically render a plain error page (the classic `500.html`) on your website.
4
+
5
+
To collect feedback, the Crash-Report modal requests and collects the user's name, email address, and a description of what occurred. When feedback is provided, Sentry pairs the feedback with the original event, giving you additional insights into issues.
6
+
7
+
The screenshot below provides an example of the Crash-Report modal, though yours may differ depending on your customization:
8
+
9
+

10
+
11
+
### Integration
12
+
13
+
The modal authenticates with your public DSN, then passes in the Event ID that was generated on your backend.
If you'd prefer an alternative to the modal or do not have a JavaScript frontend, you can use the [User Feedback API](/api/projects/submit-user-feedback/).
The <PlatformIdentifiername="before-send" /> callback is passed both the `event` and a second argument, `hint`, that holds one or more hints.
@@ -34,10 +32,6 @@ Typically a `hint` holds the original exception so that additional data can be e
34
32
35
33
When the SDK creates an event or breadcrumb for transmission, that transmission is typically created from some sort of source object. For instance, an error event is typically created from a log record or exception instance. For better customization, SDKs send these objects to certain callbacks (<PlatformIdentifiername="before-send" />, <PlatformIdentifiername="before-breadcrumb" /> or the event processor system in the SDK).
### Using <PlatformIdentifiername="ignore-errors" />
79
-
80
-
You can use the <PlatformIdentifiername="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.
To prevent certain transactions from being reported to Sentry, use the <PlatformIdentifiername="traces-sampler" /> or <PlatformIdentifiername="before-send-transaction" /> configuration option, which allows you to provide a function to evaluate the current transaction and drop it if it's not one you want.
@@ -119,30 +83,6 @@ If the transaction currently being processed has a parent transaction (from an u
119
83
120
84
Learn more about <PlatformLinkto="/configuration/sampling/">configuring the sample rate</PlatformLink>.
### Using <PlatformIdentifiername="ignore-transactions" />
133
-
134
-
You can use the <PlatformIdentifiername="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.
0 commit comments