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: develop-docs/sdk/expected-features/data-handling.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ All other platforms require the event to include `user.ip={{auto}}` which happen
31
31
32
32
Before sending events to Sentry, the SDKs should invokes callbacks. That allows users to remove any sensitive data client-side.
33
33
34
-
-[`before-send` and `event-processors`](https://develop.sentry.dev/sdk/unified-api/#static-api) can be used to register a callback with custom logic to remove sensitive data.
34
+
-[`before-send` and `event-processors`](https://develop.sentry.dev/sdk/miscellaneous/unified-api/#static-api) can be used to register a callback with custom logic to remove sensitive data.
35
35
36
36
### Application State
37
37
@@ -119,4 +119,4 @@ Fields in the event payload that allow user-specified or dynamic values are rest
119
119
Additionally, size limits apply to all store requests for the total size of the request, event payload, and attachments. Sentry rejects all requests exceeding these limits. Please refer the following resources for the exact size limits:
Copy file name to clipboardExpand all lines: develop-docs/sdk/miscellaneous/hub_and_scope_refactoring.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This is work in progress.
9
9
Development has started in JS and Python, but we are still ironing out the wrinkles.
10
10
</Alert>
11
11
12
-
Historically Sentry's SDKs implemented the Hubs and Scopes models, a major defining aspect of the <Linkto="/sdk/unified-api/">Unified API</Link>. This introduced a lot of complexity in a user facing manner, allowed more room for error from the user as well as SDK maintainers. Since looking at adopting OpenTelemetry "packages", to replace or in addition to, our existing performance packages in SDKs, there is a forcing factor. Sentry's model being different to OpenTelemetry's prevents us from supporting OpenTelemetry.
12
+
Historically Sentry's SDKs implemented the Hubs and Scopes models, a major defining aspect of the <Linkto="/sdk/miscellaneous/unified-api/">Unified API</Link>. This introduced a lot of complexity in a user facing manner, allowed more room for error from the user as well as SDK maintainers. Since looking at adopting OpenTelemetry "packages", to replace or in addition to, our existing performance packages in SDKs, there is a forcing factor. Sentry's model being different to OpenTelemetry's prevents us from supporting OpenTelemetry.
13
13
14
14
## A) Why Are We Doing This?
15
15
@@ -135,7 +135,7 @@ We should make it very clear in the changelog that top level API only writes to
135
135
136
136
## E) Implementation Details
137
137
138
-
We will merge the functionality of the `Hub` and the `Scope` of the <Linkto="/sdk/unified-api/">Unified API</Link> into the `Scope` and we will remove the `Hub`. We will add some new APIs that make it easier for the user to do custom instrumentation. We will update our auto instrumentation to fork a scope whenever a new span is created. This aligns us with what OTel does.
138
+
We will merge the functionality of the `Hub` and the `Scope` of the <Linkto="/sdk/miscellaneous/unified-api/">Unified API</Link> into the `Scope` and we will remove the `Hub`. We will add some new APIs that make it easier for the user to do custom instrumentation. We will update our auto instrumentation to fork a scope whenever a new span is created. This aligns us with what OTel does.
139
139
140
140
TODO: add where the propagation context is stored and applied, add how tracing without performance works, where spans/transactions live and other problems we discovered and solved in implementing this in the first two SDKs.
Copy file name to clipboardExpand all lines: develop-docs/sdk/miscellaneous/unified-api/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ _Types Example:_ Typed languages might have very different developer experience
17
17
18
18
_Platform Example:_ Does Rust have exceptions? Nope, don't name APIs for rust like `captureException`.
19
19
20
-
_Unified API Example:_ We don't like Hubs and Scopes anymore, and we are redefining that, <Linkto="/sdk/hub_and_scope_refactoring/">Hub & Scope Refactoring</Link>
20
+
_Unified API Example:_ We don't like Hubs and Scopes anymore, and we are redefining that, <Linkto="/sdk/miscellaneous/hub_and_scope_refactoring/">Hub & Scope Refactoring</Link>
Copy file name to clipboardExpand all lines: develop-docs/sdk/research/performance/index.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ In the next section, we’ll discuss some of the shortcomings with the current m
26
26
27
27
## Identified Issues
28
28
29
-
While the reuse of the [Unified SDK architecture](https://develop.sentry.dev/sdk/unified-api/) (hubs, clients, scopes) and the transaction ingestion model have merits, experience revealed some issues that we categorize into two groups.
29
+
While the reuse of the [Unified SDK architecture](https://develop.sentry.dev/sdk/miscellaneous/unified-api/) (hubs, clients, scopes) and the transaction ingestion model have merits, experience revealed some issues that we categorize into two groups.
30
30
31
31
The first group has to do with scope propagation, in essence the ability to determine what the “current scope” is. This operation is required for both manual instrumentation in user code as well as for automatic instrumentation in SDK integrations.
32
32
@@ -36,7 +36,7 @@ The second group is for issues related to the wire format used to send transacti
36
36
37
37
_This issue is tracked by [getsentry/sentry-javascript#3751](https://github.com/getsentry/sentry-javascript/issues/3751)._
38
38
39
-
The [Unified SDK architecture](https://develop.sentry.dev/sdk/unified-api/) is fundamentally based on the existence of a `hub` per unit of concurrency, each `hub` having a stack of pairs of `client` and `scope`. A `client` holds configuration and is responsible for sending data to Sentry by means of a `transport`, while a `scope` holds contextual data that gets appended to outgoing events, such as tags and breadcrumbs.
39
+
The [Unified SDK architecture](https://develop.sentry.dev/sdk/miscellaneous/unified-api/) is fundamentally based on the existence of a `hub` per unit of concurrency, each `hub` having a stack of pairs of `client` and `scope`. A `client` holds configuration and is responsible for sending data to Sentry by means of a `transport`, while a `scope` holds contextual data that gets appended to outgoing events, such as tags and breadcrumbs.
40
40
41
41
Every `hub` knows what the current scope is. It is always the scope on top of the stack. The difficult part is having a `hub` “per unit of concurrency”.
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/client-reports.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The following fields exist:
82
82
: _List of outcome objects_\{`reason`, `category`, `quantity`\}
83
83
84
84
-`reason`: A string reason that defines why events were lost.
85
-
-`category`: The data category for which the discard reason applies. These are the same data categories used for [rate limits](/sdk/rate-limiting/#definitions).
85
+
-`category`: The data category for which the discard reason applies. These are the same data categories used for [rate limits](/sdk/expected-features/rate-limiting/#definitions).
86
86
-`quantity`: The number of events which were lost
87
87
88
88
The following discard reasons are currently defined for `discarded_events`:
Copy file name to clipboardExpand all lines: docs/platforms/android/migration/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ Other than that, the APIs didn't change. Release Heath sets by default. If you p
420
420
421
421
## Migrating from `io.sentry:sentry-android 1.x` to `io.sentry:sentry-android 2.x`
422
422
423
-
With Sentry Android, we've updated the API to resemble the [Unified API](https://develop.sentry.dev/sdk/unified-api/) more closely. And now that the SDK isn't built on top of `io.sentry:sentry-java`, Sentry Android has more Android-specific features.
423
+
With Sentry Android, we've updated the API to resemble the [Unified API](https://develop.sentry.dev/sdk/miscellaneous/unified-api/) more closely. And now that the SDK isn't built on top of `io.sentry:sentry-java`, Sentry Android has more Android-specific features.
424
424
425
425
If you want to upgrade from the previous version of the SDK, please check the following sections of changes that may need updating in your code.
0 commit comments