Skip to content

Commit b7ccb0e

Browse files
Pre nextjs simplify rust n ruby docs (#8731)
* Remove PlatformSection component from Rust docs * Remove PlatformSection component from Ruby docs
1 parent 9a77991 commit b7ccb0e

File tree

36 files changed

+49
-3316
lines changed

36 files changed

+49
-3316
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Alert level="info" title="Using a framework?">
2+
3+
Get started using a guide listed in the right sidebar.
4+
5+
</Alert>

src/platform-includes/alert-using-a-framework/ruby.delayed_job.mdx

Whitespace-only changes.

src/platform-includes/alert-using-a-framework/ruby.rack.mdx

Whitespace-only changes.

src/platform-includes/alert-using-a-framework/ruby.rails.mdx

Whitespace-only changes.

src/platform-includes/alert-using-a-framework/ruby.resque.mdx

Whitespace-only changes.

src/platform-includes/alert-using-a-framework/ruby.sidekiq.mdx

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
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/).
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Crash-Report Modal
2+
3+
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+
![An example of a Crash-Report modal with text boxes for user name, email, and additional details about the break.](./user_feedback_widget.png)
10+
11+
### Integration
12+
13+
The modal authenticates with your public DSN, then passes in the Event ID that was generated on your backend.
14+
15+
<PlatformContent includePath="user-feedback/example-widget/" />
16+
17+
## User Feedback API
18+
19+
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/).

src/platforms/ruby/common/configuration/filtering.mdx

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ 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-
<PlatformSection notSupported={["apple", "dotnet", "elixir", "rust", "unreal", "kotlin-multiplatform"]}>
26-
2725
#### Event Hints
2826

2927
The <PlatformIdentifier name="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
3432

3533
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 (<PlatformIdentifier name="before-send" />, <PlatformIdentifier name="before-breadcrumb" /> or the event processor system in the SDK).
3634

37-
</PlatformSection>
38-
39-
<PlatformSection notSupported={["native", "apple", "dotnet", "unreal", "elixir", "kotlin-multiplatform"]}>
40-
4135
### Using Hints
4236

4337
Hints are available in two places:
@@ -71,36 +65,6 @@ In this example, the fingerprint is forced to a common value if an exception of
7165

7266
<PlatformContent includePath="configuration/breadcrumb-hints" />
7367

74-
</PlatformSection>
75-
76-
<PlatformSection supported={["javascript", "node", "go"]} >
77-
78-
### Using <PlatformIdentifier name="ignore-errors" />
79-
80-
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.
81-
82-
<PlatformContent includePath="configuration/ignore-errors" />
83-
</PlatformSection>
84-
85-
<PlatformSection supported={["php"]} >
86-
87-
### Using <PlatformIdentifier name="ignore-exceptions" />
88-
89-
You can use the <PlatformIdentifier name="ignore-exceptions" /> option to filter out errors that match a type or subtype.
90-
91-
<PlatformContent includePath="configuration/ignore-exceptions" />
92-
</PlatformSection>
93-
94-
<PlatformSection supported={["android", "javascript", "java", "python"]} notSupported={["kotlin-multiplatform"]}>
95-
96-
### Decluttering Sentry
97-
98-
<PlatformContent includePath="configuration/decluttering" />
99-
100-
</PlatformSection>
101-
102-
<PlatformSection supported={["node", "javascript", "python", "php", "dotnet", "java", "ruby", "go", "react-native", "android", "dart"]} notSupported={["javascript.cordova", "unreal", "kotlin-multiplatform"]}>
103-
10468
## Filtering Transaction Events
10569

10670
To prevent certain transactions from being reported to Sentry, use the <PlatformIdentifier name="traces-sampler" /> or <PlatformIdentifier name="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
11983

12084
Learn more about <PlatformLink to="/configuration/sampling/">configuring the sample rate</PlatformLink>.
12185

122-
<PlatformSection supported={["node", "javascript", "php", "go", "python", "java", "ruby"]}>
123-
12486
### Using <PlatformIdentifier name="before-send-transaction" />
12587

12688
<PlatformContent includePath="configuration/before-send-transaction" />
127-
128-
</PlatformSection>
129-
130-
<PlatformSection supported={["javascript", "node", "go"]} >
131-
132-
### Using <PlatformIdentifier name="ignore-transactions" />
133-
134-
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.
135-
136-
<PlatformContent includePath="configuration/ignore-transactions" />
137-
</PlatformSection>
138-
139-
<PlatformSection supported={["php"]} >
140-
141-
### Using <PlatformIdentifier name="ignore-transactions" />
142-
143-
You can use the <PlatformIdentifier name="ignore-transactions" /> option to filter out transactions that match a certain string.
144-
145-
<PlatformContent includePath="configuration/ignore-transactions" />
146-
</PlatformSection>
147-
148-
</PlatformSection>

0 commit comments

Comments
 (0)