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
Copy file name to clipboardExpand all lines: docs/product/relay/getting-started.mdx
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,6 @@ _"create custom config"_ and customizing these parameters:
55
55
56
56
- The `mode` setting, which configures the major mode in which Relay operates. For more information on available Relay modes, refer to [Relay Modes](../modes/).
57
57
58
-
<Alertlevel="warning">
59
-
60
-
Currently, only `proxy` and `static` mode are available to all organizations. Relay in `managed` mode is available only on the [Business and Enterprise plans](https://sentry.io/pricing/).
61
-
62
-
</Alert>
63
-
64
58
- The `upstream` setting configures the server to which Relay will forward the
65
59
events (by default the main `sentry.io` URL).
66
60
@@ -96,7 +90,7 @@ Configurations are fully documented in [Configuration Options](../options/).
96
90
97
91
<Alert>
98
92
99
-
Not applicable in `proxy` or `static` mode.
93
+
Not applicable in `proxy` mode.
100
94
101
95
</Alert>
102
96
@@ -120,7 +114,7 @@ Use the `public_key` to register your Relay with the upstream server when runnin
Copy file name to clipboardExpand all lines: docs/product/relay/index.mdx
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,6 @@ Relay is specifically designed to:
12
12
- Improve event response time in regions with low bandwidth or limited connectivity
13
13
- Act as an opaque proxy for organizations that restrict all HTTP communication to a custom domain name
14
14
15
-
<Alert>
16
-
17
-
Relay in `managed` mode is available only on the [Business and Enterprise plans](https://sentry.io/pricing/).
18
-
19
-
</Alert>
20
-
21
15
## Use Cases for Relay
22
16
23
17
Relay is designed to support organizations that have specific enterprise security requirements for data scrubbing of personally identifiable information (PII), response time, and enterprise domain management.
Copy file name to clipboardExpand all lines: docs/product/relay/modes/index.mdx
+8-39Lines changed: 8 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,7 @@ sidebar_order: 2
6
6
7
7
Relay can operate in one of several major modes, and it is critical to understand the modes prior if you are configuring the Relay server rather than using the default settings.
8
8
9
-
The mode is stored in the configuration file, which contains the `relay.mode` field. This field specifies the mode in which Relay will run: `managed`, `static`, or `proxy`. The Relay mode controls the way Relay obtains project settings for events.
10
-
11
-
<Alert>
12
-
13
-
Relay in `managed` mode is available only on the [Business and Enterprise plans](https://sentry.io/pricing/).
14
-
15
-
</Alert>
9
+
The mode is stored in the configuration file, which contains the `relay.mode` field. This field specifies the mode in which Relay will run: `managed` or `proxy`. The Relay mode controls whether or not Relay obtains project settings for events.
16
10
17
11
In Sentry, event processing is configured according to both project and organization settings. Some settings, such as privacy controls, are set at the organization level, then inherited by all projects in that organization; other settings are specified per project. For Relay, events are processed according to the inherited project settings to which the event is sent.
18
12
@@ -34,43 +28,13 @@ relay:
34
28
mode: managed
35
29
```
36
30
37
-
## Static Mode
38
-
39
-
In static mode, projects must be configured manually. In this mode, Relay will process events for only statically configured projects, and reject events for all other projects.
40
-
41
-
This mode is useful when you know the projects sending events and you need to explicitly control the projects allowed to send events through this Relay.
42
-
43
-
<Alert title="Note">
44
-
45
-
In `static` mode, Relay does not register with upstream since it does not query
46
-
information from it. After processing events for configured projects, it
47
-
forwards them upstream with the authentication information (DSN) set by
48
-
the client that sent the original request.
49
-
50
-
</Alert>
51
-
52
-
To activate static mode, set this configuration:
53
-
54
-
```yaml
55
-
relay:
56
-
mode: static
57
-
```
58
-
59
-
To configure projects, add files using the format `projects/<PROJECT_ID>.json` to your Relay configuration folder. For a description of the contents of this file,
60
-
refer to [Project Configuration](/product/relay/projects/).
61
-
62
31
## Proxy Mode
63
32
64
-
Proxy mode is similar to `static` mode, but it forwards events from unknown
65
-
projects. In this mode, events for statically configured projects are handled
66
-
identically to `static` mode. Events for unknown projects -- projects for which
67
-
there are no statically configured settings -- are forwarded (proxied) with
68
-
minimal processing.
33
+
Proxy mode forwards all events with minimal processing and does not receive any project settings from Sentry.
69
34
70
35
<Alert title="Rate Limiting">
71
36
72
-
Rate limiting is still applied in `proxy` mode for all projects,
73
-
regardless of whether they are statically configured or proxied.
37
+
Rate limiting is still applied in `proxy` mode for all projects.
74
38
75
39
</Alert>
76
40
@@ -80,3 +44,8 @@ To activate proxy mode, set this configuration:
80
44
relay:
81
45
mode: proxy
82
46
```
47
+
48
+
## Static Mode
49
+
50
+
Static mode has been deprecated as of Relay version 25.9.0. Please use `managed` or `proxy` mode instead. When switching to `managed` mode don't forget to migrate any data scrubbing rules in your config directory by [configuring them in the Sentry UI](/security-legal-pii
| relay.mode | String | default value: `managed` possible values: `managed, static, proxy, capture` optional: `false`| Controls how Relay obtains the project configuration for events. For detailed explanation of these modes, see [Relay Modes](/product/relay/modes/). `Environment variable: "RELAY_MODE."`|
27
+
| relay.mode | String | default value: `managed` possible values: `managed, proxy` optional: `false`| Controls how Relay obtains the project configuration for events. For detailed explanation of these modes, see [Relay Modes](/product/relay/modes/). `Environment variable: "RELAY_MODE."`|
28
28
| relay.upstream | String | default value: `https://sentry.io` optional: `false`| Fully qualified URL of the upstream Relay or Sentry instance. `Environment variable: "RELAY_UPSTREAM_URL".` <Alertlevel="warning"title="Important"> Relay doesn't check for cycles. Don't set this option to an endpoint that will cause events to be cycled back here. </Alert> |
29
29
| relay.host | String | default value: `0.0.0.0 in Docker, otherwise 127.0.0.1` optional: `false`| The host to which Relay should bind (network interface). `Environment variable: "RELAY_HOST".`|
30
30
| relay.port | Integer | default value: `3000` optional: `false`| The port to which Relay should bind for the unencrypted Relay HTTP server. `Environment variable: "RELAY_PORT".`|
0 commit comments