Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit a1c3888

Browse files
dcramerjan-auer
andauthored
feat: Disable relay by default in devservices (#520)
Co-authored-by: Jan Michael Auer <[email protected]>
1 parent 220dbf3 commit a1c3888

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/components/sidebar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ export default () => {
5050
<h6>Development</h6>
5151
</div>
5252
<ul className="list-unstyled" data-sidebar-tree>
53-
<SidebarLink to="/commit-messages/">Commit Messages</SidebarLink>
54-
<SidebarLink to="/code-review/">Code Review</SidebarLink>
55-
<SidebarLink to="/workflow/">Workflow</SidebarLink>
56-
<SidebarLink to="/environment/" title="Environment">
53+
<SidebarLink to="/environment/" title="Environment">
5754
<Children
5855
tree={tree.find(n => n.name === "environment").children}
5956
/>
6057
</SidebarLink>
58+
<SidebarLink to="/commit-messages/">Commit Messages</SidebarLink>
59+
<SidebarLink to="/code-review/">Code Review</SidebarLink>
60+
<SidebarLink to="/workflow/">Workflow</SidebarLink>
6161
<SidebarLink to="/continuous-integration/">
6262
Continuous Integration
6363
</SidebarLink>

src/docs/environment/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,14 @@ If you would like to be able to run `devserver` outside of your root checkout, y
267267
displayed correctly.
268268
</Alert>
269269
270+
### Ingestion Pipeline (Relay)
271+
272+
Some services are not run in all situations, among those are <Link to="/services/relay/">Relay</Link> and the ingest workers. If you need
273+
a more production-like environment in development, you can set `SENTRY_USE_RELAY=True` in `~/.sentry/sentry.conf.py`. This will launch Relay
274+
as part of the `devserver` workflow.
275+
276+
Additionally you can explicitly control this during `devserver` usage with the `--relay` and `--no-relay` flags.
277+
270278
## Setting up Getsentry
271279
272280
<Alert title="Employees Only" level="warning">

0 commit comments

Comments
 (0)