Skip to content

Commit 1800bb4

Browse files
committed
Merge branch 'master' into cmanallen/add-issue-details-docs
2 parents 5a0e779 + 102f0ff commit 1800bb4

File tree

92 files changed

+1081
-928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1081
-928
lines changed

develop-docs/application/architecture.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Edges represent service dependencies.
1010
```mermaid
1111
graph TD
1212
app[Your Application] --> |SDK| lb{{Load Balancer}}
13-
lb --> |"sentry.example.com/api/\d+/store/"| relay
13+
lb --> |"sentry.example.com/api/0/envelope/"| relay
1414
lb --> |"sentry.example.com"| sentry_web["Sentry (web)"]
1515
symbolicator --> sentry_web
1616
relay --> kafka
@@ -50,7 +50,7 @@ For more information read [Path of an event through Relay](https://getsentry.git
5050
```mermaid
5151
graph TD
5252
app[Your application] --> |sends crashes| lb{{nginx}}
53-
lb --> |/api/n/store/| relay
53+
lb --> |/api/0/envelope/| relay
5454
relay --> kafka[(Ingest Kafka)]
5555
kafka --> ingest-consumer["Sentry ingest consumer"]
5656
ingest-consumer --> preprocess-event

develop-docs/backend/api/public.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,30 @@ NOTE: The `openapi-diff` test is supposed to fail when CI runs on your pull requ
483483

484484
---
485485

486+
**Problem**: `drf_spectacular.plumbing.UnableToProceedError' <class 'serializer_path.FooSerializer'> ... raise UnableToProceedError(hint)`
487+
488+
**Solution**: Check that the response of your API documentation is using a TypedDict rather than a serializer.
489+
490+
If the schema looks something like this:
491+
```python
492+
...
493+
200: inline_sentry_response_serializer(
494+
"ListDocIntegrationResponse", list[FooSerializer]
495+
),
496+
```
497+
498+
Then you need to change it to use a TypedDict by first typing the serializer, then updating the schema to use the TypedDict:
499+
```python
500+
...
501+
200: inline_sentry_response_serializer(
502+
"ListDocIntegrationResponse", list[FooSerializerResponse]
503+
),
504+
```
505+
506+
Refer to the section above on [Success Responses](#success-responses) for more information.
507+
508+
---
509+
486510
## Requesting an API to be public
487511

488512
Are you a Sentry user who wants an endpoint to be public?

develop-docs/development/environment/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,9 @@ docker ps
288288
**Problem:** You use an Android emulator with a DSN pointing to localhost, and the events don't show up in your local Sentry instance.
289289

290290
**Solution:** Change `localhost` to `10.0.2.2`. So, for example, change http://d895df97e1cb4a33b4dff8af3e78da09@localhost:8000/2 to http://[email protected]:8000/2. This is because localhost or `127.0.0.1` refers to the emulator's own loopback interface, not the loopback interface of the host machine. For more information see https://developer.android.com/studio/run/emulator-networking.
291+
292+
---
293+
294+
**Problem:** Switching from Docker Desktop to Colima results in error `Failed to start service: Credentials store error: StoreError('docker-credential-desktop not installed or not available in PATH')`
295+
296+
**Solution:** Remove the `credsStore` key in your `~/.docker/config.json` file.

docs/concepts/data-management/event-grouping/index.mdx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,7 @@ Stack trace rules can work as a combination of both SDK and project settings. As
8080

8181
You can see a fingerprint by opening an issue, clicking "{} View JSON", and finding the _fingerprint_ property in that file. If the default grouping was used, you'll see "default" written there. If a different grouping was used, you'll see the actual fingerprint value itself.
8282

83-
<div style={{"height":"0px","paddingBottom":"calc(56.88524590163935% + 41px)","position":"relative","width":"100%"}}>
84-
<iframe
85-
src="https://demo.arcade.software/8vE2p1OF0WRxjg7XN8HH?embed"
86-
frameborder="0"
87-
loading="lazy"
88-
webkitallowfullscreen
89-
mozallowfullscreen
90-
allowfullscreen
91-
allow="fullscreen;"
92-
style={{"colorScheme":"light","height":"100%","left":"0px","position":"absolute","top":"0px","width":"100%"}}
93-
title="View Issue Fingerprint"
94-
></iframe>
95-
</div>
83+
<Arcade src="https://demo.arcade.software/8vE2p1OF0WRxjg7XN8HH?embed" />
9684

9785
## Transaction Grouping Algorithms
9886

docs/concepts/key-terms/environments/index.mdx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,4 @@ If a project is hidden, you won't see that environment in the environment select
4040

4141
Follow along with the interactive demo below to see how to hide and unhide environments.
4242

43-
<div style={{"height":"0px","paddingBottom":"calc(66.5403% + 41px)","position":"relative","width":"100%"}}>
44-
<iframe
45-
src="https://demo.arcade.software/GqXUGJBjoH5fOG5AMyLt?embed"
46-
frameborder="0"
47-
loading="lazy"
48-
webkitallowfullscreen
49-
mozallowfullscreen
50-
allowfullscreen
51-
allow="fullscreen;"
52-
style={{"colorScheme":"light","height":"100%","left":"0px","position":"absolute","top":"0px","width":"100%"}}
53-
title="Environments - Hide/show"
54-
></iframe>
55-
</div>
43+
<Arcade src="https://demo.arcade.software/GqXUGJBjoH5fOG5AMyLt?embed" />

docs/concepts/key-terms/tracing/trace-view.mdx

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ By default, the waterfall view shows a list of transactions. If you need more gr
3030
>
3131
<iframe
3232
src="https://demo.arcade.software/25H9paIDvBOQp5T3pFeW?embed&show_copy_link=true"
33-
title="Trace View — Performance — sentry — Sentry"
3433
frameborder="0"
3534
loading="lazy"
3635
webkitallowfullscreen
@@ -45,7 +44,6 @@ By default, the waterfall view shows a list of transactions. If you need more gr
4544
top: "0px",
4645
width: "100%",
4746
}}
48-
title="Trace View -> Error"
4947
></iframe>
5048
</div>
5149

@@ -59,68 +57,14 @@ Whatever you highlight will also be saved if you navigate away from the page and
5957
If you're doing a comparison and want an easy way to go back and forth between highlighted areas of interest in your trace, you can pin the tabs. When a tab is pinned, the view will be persistent throughout your session.
6058

6159
<br />
62-
<div
63-
style={{
64-
height: "0px",
65-
paddingBottom: "calc(66.66% + 41px)",
66-
position: "relative",
67-
width: "100%",
68-
}}
69-
>
70-
<iframe
71-
src="https://demo.arcade.software/yP3PFytK0ckfetjJTe52?embed&show_copy_link=true"
72-
title="Sentry"
73-
frameborder="0"
74-
loading="lazy"
75-
webkitallowfullscreen
76-
mozallowfullscreen
77-
allowfullscreen
78-
allow="clipboard-write; fullscreen;"
79-
style={{
80-
colorScheme: "light",
81-
height: "100%",
82-
left: "0px",
83-
position: "absolute",
84-
top: "0px",
85-
width: "100%",
86-
}}
87-
title="Trace View - Tabbing"
88-
></iframe>
89-
</div>
60+
<Arcade src="https://demo.arcade.software/yP3PFytK0ckfetjJTe52?embed&show_copy_link=true" />
9061
<br />
9162
Sometimes, duration gaps between entries can be small, but critical to your debugging
9263
effort. That's why the Trace View enables you to zoom into certain areas of the trace,
9364
either by double clicking on row elements (which zooms into the row) or by using
9465
your scroll wheel.
9566
<br />
96-
<div
97-
style={{
98-
height: "0px",
99-
paddingBottom: "calc(66.66% + 41px)",
100-
position: "relative",
101-
width: "100%",
102-
}}
103-
>
104-
<iframe
105-
src="https://demo.arcade.software/U8JbMjFJR1KRiP4G4j4E?embed&show_copy_link=true"
106-
title="Trace View — Performance — sentry — Sentry"
107-
frameborder="0"
108-
loading="lazy"
109-
webkitallowfullscreen
110-
mozallowfullscreen
111-
allowfullscreen
112-
allow="clipboard-write; fullscreen;"
113-
style={{
114-
colorScheme: "light",
115-
height: "100%",
116-
left: "0px",
117-
position: "absolute",
118-
top: "0px",
119-
width: "100%",
120-
}}
121-
title="Trace View - Zooming"
122-
></iframe>
123-
</div>
67+
<Arcade src="https://demo.arcade.software/U8JbMjFJR1KRiP4G4j4E?embed&show_copy_link=true" />
12468
<br />
12569
The Trace View has other features like search, which makes it easy to visualize matching
12670
spans that you can then iterate over using the up or down arrows. You can also tailor

docs/concepts/migration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: "Learn more about the reasons to move to Sentry's SaaS solution, wh
77
Sentry offers a cloud-hosted, software-as-a-service (SaaS) solution in addition to a self-hosted solution, which are both functionally the same. However, many customers find that self-hosted Sentry can quickly become expensive to maintain, scale, and support, making our SaaS product the better and less costly option. To facilitate moving from self-hosted to SaaS, we provide a self-serve process known as "relocation".
88

99
<Alert>
10-
Check out this video on [**Migrating to Sentry SaaS**](https://sentry.io/resources/migrate-to-sentry-saas-workshop/) to learn about our relocation tooling.
10+
Check out this video on <a href="https://sentry.io/resources/migrate-to-sentry-saas-workshop/" className="plausible-event-name=migrating+to+saas+video">**Migrating to Sentry SaaS**</a> to learn about our relocation tooling.
1111
</Alert>
1212

1313
For additional reading on considering SaaS, take a look at:
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Banners
3+
noindex: true
4+
sidebar_order: 80
5+
---
6+
7+
You can add arbitrary banners to the top of a page by adding adding an entry to the `BANNERS` array on
8+
the `banner/index.tsx` file. The `BANNERS` array is an array of objects with the following properties:
9+
10+
```typescript {filename:banner/index.tsx}
11+
type BannerType = {
12+
/** This is an array of strings or RegExps to feed into new RegExp() */
13+
appearsOn: (string | RegExp)[];
14+
/** The label for the call to action button */
15+
linkText: string;
16+
/** The destination url of the call to action button */
17+
linkURL: string;
18+
/** The main text of the banner */
19+
text: string;
20+
/** Optional ISO Date string that will hide the banner after this date without the need for a rebuild */
21+
expiresOn?: string;
22+
};
23+
```
24+
25+
You can add as many banners as you like. If you need to disable all banners, simply delete them from the array.
26+
27+
Each banner is evaluated in order, and the first one that matches will be shown.
28+
29+
Examples:
30+
31+
```typescript {filename:banner/index.tsx}
32+
// ...
33+
// appearsOn = []; // This is disabled
34+
// appearsOn = ['^/$']; // This is enabled on the home page
35+
// appearsOn = ['^/welcome/']; // This is enabled on the "/welcome" page
36+
// ...
37+
38+
const BANNERS = [
39+
// This one will take precedence over the last banner in the array
40+
// (which matches all /platforms pages), because it matches first.
41+
{
42+
appearsOn: ['^/platforms/javascript/guides/astro/'],
43+
text: 'This banner appears on the Astro guide',
44+
linkURL: 'https://sentry.io/thought-leadership',
45+
linkText: 'Get webinarly',
46+
},
47+
48+
// This one will match the /welcome page and all /for pages
49+
{
50+
appearsOn: ['^/$', '^/platforms/'],
51+
text: 'This banner appears on the home page and all /platforms pages',
52+
linkURL: 'https://sentry.io/thought-leadership',
53+
linkText: 'Get webinarly',
54+
},
55+
];
56+
57+
```
58+
59+
Optionally, you can add an `expiresOn` property to a banner to hide it after a certain date without requiring a rebuild or manual removeal.
60+
the ISO Date string should be in the format `YYYY-MM-DDTHH:MM:SSZ` to be parsed correctly and account for timezones.
61+
62+
```typescript {filename:banner/index.tsx}
63+
const BANNERS = [
64+
{
65+
appearsOn: ['^/$'],
66+
text: 'This home page banner will disappear after 2024-12-06',
67+
linkURL: 'https://sentry.io/party',
68+
linkText: 'RSVP',
69+
expiresOn: '2024-12-06T00:00:00Z',
70+
},
71+
];
72+
```

docs/contributing/pages/components.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ An Alert component with no level setting will render as a Note component.
3838

3939
See also the [Note component](#note).
4040

41+
## Arcade embeds
42+
43+
Render an [Arcade](https://arcade.software) embed.
44+
<Arcade src="https://demo.arcade.software/v7uhzmdV6Q5PDzoVPAE6?embed&show_copy_link=true" />
45+
```markdown {tabTitle:Example}
46+
<Arcade src="https://demo.arcade.software/v7uhzmdV6Q5PDzoVPAE6?embed&show_copy_link=true" />
47+
```
48+
49+
Attributes:
50+
51+
- `src` (string) - the URL of the Arcade embed
52+
4153
## Expandable
4254

4355
Render an expandable section.

docs/organization/early-adopter-features/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Limitations:
2222
- [Span Summary](/product/performance/transaction-summary/#span-summary)
2323
- [Investigation Mode](/product/performance/retention-priorities/#investigation-mode) for retention priorities in Tracing
2424
- [Uptime Monitoring](/product/alerts/uptime-monitoring/)
25+
- [Dynamic Alerts](/product/alerts/create-alerts/metric-alert-config/#dynamic-alerts)

0 commit comments

Comments
 (0)