Skip to content

Commit 651a87f

Browse files
committed
Resolve merge conflicts with master
2 parents 25ff594 + 49dc5f5 commit 651a87f

File tree

137 files changed

+2833
-1246
lines changed

Some content is hidden

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

137 files changed

+2833
-1246
lines changed

.github/ISSUE_TEMPLATE/issue-content-01-sdks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: "📝 SDK Documentation"
2-
labels: ["Type: Content", "SDKs"]
1+
name: '📝 SDK Documentation'
2+
labels: ['Type: Content', 'SDKs']
33
description: Missing, incorrect, or unclear documentation of SDKs.
4+
type: Improvement
45
body:
56
- type: markdown
67
attributes:

.github/ISSUE_TEMPLATE/issue-content-02-product.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: "📝 Product Documentation"
2-
labels: ["Type: Content", "Product"]
1+
name: '📝 Product Documentation'
2+
labels: ['Type: Content', 'Product']
33
description: Missing, incorrect, or unclear documentation of product features.
4+
type: Improvement
45
body:
56
- type: markdown
67
attributes:

.github/ISSUE_TEMPLATE/issue-content-03-develop.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: "📝 Documentation on develop.sentry.dev"
2-
labels: ["Type: Content", "Develop"]
1+
name: '📝 Documentation on develop.sentry.dev'
2+
labels: ['Type: Content', 'Develop']
33
description: Missing, incorrect, or unclear developer documentation.
4+
type: Improvement
45
body:
56
- type: markdown
67
attributes:
@@ -35,4 +36,3 @@ body:
3536
value: |-
3637
## Thanks 🙏
3738
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.
38-

.github/ISSUE_TEMPLATE/issue-platform-404.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: "💻 Docs Platform: 🔗 404 Error"
2-
labels: "Type: Platform,404"
1+
name: '💻 Docs Platform: 🔗 404 Error'
2+
labels: 'Type: Platform,404'
33
description: Broken links, missing pages, and other 404 errors.
4-
4+
type: Bug
55
body:
66
- type: textarea
77
id: url

.github/ISSUE_TEMPLATE/issue-platform-bug.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
name: "💻 Docs Platform: 🐞 Bug"
2-
labels: "Type: Platform,Bug"
1+
name: '💻 Docs Platform: 🐞 Bug'
2+
labels: 'Type: Platform'
3+
type: Bug
34
description: Problems with the technical platform of our docs.
45
body:
56
- type: textarea

.github/ISSUE_TEMPLATE/issue-platform-improvement.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: "💻 Docs Platform: ✨ Improvement"
2-
labels: "Type: Platform,Improvement"
1+
name: '💻 Docs Platform: ✨ Improvement'
2+
labels: 'Type: Platform'
33
description: Ideas on how we can improve the technical capabilities of our docs platform.
4+
type: Improvement
45
body:
56
- type: textarea
67
id: problem

apps/changelog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@radix-ui/react-icons": "^1.3.2",
2626
"@radix-ui/react-toolbar": "^1.1.0",
2727
"@radix-ui/themes": "^3.1.3",
28-
"@sentry/nextjs": "9.2.0",
28+
"@sentry/nextjs": "9.3.0",
2929
"@spotlightjs/spotlight": "^2.1.1",
3030
"next": "15.1.2",
3131
"next-auth": "^4.24.5",

apps/changelog/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"value": "1; mode=block"
1717
},
1818
{
19-
"key": "Content-Security-Policy-Report-Only",
19+
"key": "Content-Security-Policy",
2020
"value": "default-src 'none'; font-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' plausible.io 'unsafe-inline' 'unsafe-eval' 'report-sample'; img-src 'self' changelog.sentry.dev lh3.googleusercontent.com storage.googleapis.com; worker-src blob:; connect-src o1.ingest.us.sentry.io plausible.io 'self' changelog.sentry.dev sentry.io sentry.sentry.io storage.googleapis.com; report-uri https://o1.ingest.us.sentry.io/api/4507670276341760/security/?sentry_key=e90f5ea060a4102c0a4c50c740e43ae1;"
2121
}
2222
]

develop-docs/sdk/expected-features/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ This functionality should be gated behind the `includeLocalVariables` option, wh
120120

121121
An SDK may optionally support feature flag collection. Feature flags are collected on evaluation, stored on the scope, and submitted to Sentry on error obeying the schema specified in the <Link to="/sdk/data-model/event-payloads/contexts/#feature-flag-context">Feature Flag Context</Link> protocol documentation.
122122

123-
If an SDK supports feature flags it must expose a function `set_flag` which has identical behavior to the `set_tag` function. It must accept a key of type string and a value which is a union of string, boolean, integer, float, and structure. An SDK may hold up to 100 evaluations. Evaluations are ordered based on their evaluation time. Typically, an LRU cache is used to store feature flags. When the capacity of the cache is exceeded the oldest flag is dropped. Any (or multiple) data structure(s) may be chosen by the SDK to store feature flags as long as the evaluation order of the flags is maintained.
123+
If an SDK supports feature flags it must expose a function `addFeatureFlag` which has similar behavior to the `set_tag` function. It must accept a key of type string and a value which is a union of string, boolean, integer, float, and structure. An SDK may hold up to 100 evaluations (similar to the breadcrumb implementation). Evaluations are ordered based on their evaluation time. Typically, an LRU cache is used to store feature flags. When the capacity of the cache is exceeded the oldest flag is dropped. Any (or multiple) data structure(s) may be chosen by the SDK to store feature flags as long as the evaluation order of the flags is maintained.
124124

125125
Because flags are stored on the scope, when a scope forks the flags data structure must be cloned. Failure to clone the data structure appropriately will lead to flags leaking across thread boundaries and lead to unexpected results.
126126

develop-docs/sdk/telemetry/traces/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ To improve the likelihood of capturing complete traces when backend services use
230230

231231
The random value (`sample_rand`) is set according to the following rules:
232232

233-
1. When tracing is enabled and a new trace is started, the SDK generates a `sample_rand` value for the current execution context. A `sample_rand` is a float (`0.1234` notation) in the range of `[0, 1)` (including 0.0, excluding 1.0).
233+
1. A `sample_rand` is a float (`0.123456` notation) in the range of `[0, 1)` (including 0.0, excluding 1.0), with six digits after the decimal point.
234+
1. When tracing is enabled and a new trace is started, the SDK generates a `sample_rand` value for the current execution context.
234235
1. This also applies to Tracing without Performance where we simply want to generate `sample_rand` every time a new trace is started. This `sample_rand` value can then be stored on `PropagationContext`.
235236
1. It is _recommended_ to generate the random number deterministically using the trace ID as seed or source of randomness (make sure to do this atomically so multiple threads accessing the same random instance don't mix their seeds). The exact method by which the random number is created is implementation-defined and may vary between SDK implementations.
236237
1. The `sample_rand` is part of the DSC (Dynamic Sampling Context) and as with other values on the `baggage` header, the `sample_rand` value from the current execution context should be propagated to downstream SDKs. It should also be sent to other system as part of the `baggage` header if Performance is disabled and sampling decision is deferred.

0 commit comments

Comments
 (0)