Skip to content

Commit 3264f27

Browse files
Rephrase static and Proxy sections and remove references to static from else where in the code.
1 parent e8386fc commit 3264f27

File tree

3 files changed

+10
-36
lines changed

3 files changed

+10
-36
lines changed

docs/product/relay/getting-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Configurations are fully documented in [Configuration Options](../options/).
9090
9191
<Alert>
9292
93-
Not applicable in `proxy` or `static` mode.
93+
Not applicable in `proxy` mode.
9494

9595
</Alert>
9696

@@ -114,7 +114,7 @@ Use the `public_key` to register your Relay with the upstream server when runnin
114114

115115
<Alert>
116116

117-
Not applicable in `proxy` or `static` mode.
117+
Not applicable in `proxy` mode.
118118

119119
</Alert>
120120

docs/product/relay/modes/index.mdx

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_order: 2
66

77
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.
88

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.
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 the way Relay obtains project settings for events.
1010

1111
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.
1212

@@ -28,43 +28,13 @@ relay:
2828
mode: managed
2929
```
3030
31-
## Static Mode
32-
33-
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.
34-
35-
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.
36-
37-
<Alert title="Note">
38-
39-
In `static` mode, Relay does not register with upstream since it does not query
40-
information from it. After processing events for configured projects, it
41-
forwards them upstream with the authentication information (DSN) set by
42-
the client that sent the original request.
43-
44-
</Alert>
45-
46-
To activate static mode, set this configuration:
47-
48-
```yaml
49-
relay:
50-
mode: static
51-
```
52-
53-
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,
54-
refer to.
55-
5631
## Proxy Mode
5732
58-
Proxy mode is similar to `static` mode, but it forwards events from unknown
59-
projects. In this mode, events for statically configured projects are handled
60-
identically to `static` mode. Events for unknown projects -- projects for which
61-
there are no statically configured settings -- are forwarded (proxied) with
62-
minimal processing.
33+
Proxy mode forwards the all events with minimal processing.
6334
6435
<Alert title="Rate Limiting">
6536
66-
Rate limiting is still applied in `proxy` mode for all projects,
67-
regardless of whether they are statically configured or proxied.
37+
Rate limiting is still applied in `proxy` mode for all projects.
6838

6939
</Alert>
7040

@@ -74,3 +44,7 @@ To activate proxy mode, set this configuration:
7444
relay:
7545
mode: proxy
7646
```
47+
48+
## Static Mode
49+
50+
Static mode has been deprecated as of Relay version 25.9.0. Pleas use `managed` or `proxy` mode instead. When switching to `managed` mode don't forget to migrate any local scrubbing rules by configuring them in the Sentry UI.

docs/product/relay/options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Credentials can be initiated as described in the [getting started page](/product
2424

2525
| key | type | value | description |
2626
| -------------------------- | ------- | --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27-
| 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."` |
2828
| 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".` <Alert level="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> |
2929
| 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".` |
3030
| 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

Comments
 (0)