Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta(changelog): Update changelog for 7.58.0 #8480

Merged
merged 60 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
6cb47a8
feat(e2e-test): Add create-remix-app test
priscilawebdev Jun 4, 2023
4319a75
fix lint errors
priscilawebdev Jun 5, 2023
c15542b
Merge branch 'develop' into priscila/feat/add-remix-e2e-test
AbhiPrasad Jun 9, 2023
f675847
Merge branch 'develop' into priscila/feat/add-remix-e2e-test
priscilawebdev Jun 16, 2023
7a324dd
Merge branch 'develop' into priscila/feat/add-remix-e2e-test
priscilawebdev Jun 27, 2023
087819c
Merge pull request #8419 from getsentry/master
github-actions[bot] Jun 28, 2023
7de917e
fix(browser): Set anonymous `crossorigin` attribute on report dialog …
lforst Jun 29, 2023
f1ede57
feat(tracing): Add `PropagationContext` to scope (#8421)
AbhiPrasad Jun 29, 2023
e02c27f
feat(node): Populate propagation context using env variables (#8422)
AbhiPrasad Jun 29, 2023
2cf8a6a
chore: Remove unused apm-transaction file (#8432)
AbhiPrasad Jun 30, 2023
08ddcfb
ref(sveltekit): Extract propagation context (#8428)
AbhiPrasad Jun 30, 2023
f8e07ef
ref(remix): Extract propagation context in request handler (#8427)
AbhiPrasad Jun 30, 2023
e087afe
ref(tracing): Extract propagation context from meta tags (#8430)
AbhiPrasad Jun 30, 2023
cf8c072
ref(nextjs): Set propagation context for tracing (#8426)
AbhiPrasad Jun 30, 2023
3625fb1
fix(node): report errorMiddleware errors as unhandled (#8048)
chdsbd Jul 1, 2023
9006287
ref(tracing): Add necessary helpers for using propagation context on …
AbhiPrasad Jul 1, 2023
16a29c0
chore: Make sure we run sentry-internal unit tests (#8431)
AbhiPrasad Jul 1, 2023
78bb4af
build: Update lerna to 7.1.1 (#8437)
mydea Jul 4, 2023
f7235ae
chore(angular): remove duplicate condition (#8447)
donaldxdonald Jul 4, 2023
1404fdc
docs(angular): Fix typo and grammar in comments (#8448)
mrdulin Jul 4, 2023
194be82
ci: Fix `cache-hit` typo (#8446)
lforst Jul 4, 2023
1db809b
feat(core): Add helpers to get module metadata from injected code (#8…
timfish Jul 4, 2023
9ede8a3
feat(replay): Add a new option `networkDetailDenyUrls` (#8439)
ziyad-elabid-nw Jul 4, 2023
a3178f7
ref(node): Extract propagation context in `tracingHandler` (#8425)
AbhiPrasad Jul 4, 2023
02e5035
ref(serverless): Extract propagation context (#8429)
AbhiPrasad Jul 4, 2023
4b98349
fix(replay): Adjust slow/multi click handling (#8380)
mydea Jul 5, 2023
c55943f
fix(node): Apply source context to linked errors even when it is unca…
lforst Jul 5, 2023
dae3475
fix(nextjs): Use `basePath` option for `tunnelRoute` (#8454)
lforst Jul 5, 2023
b48bc08
fix(react): Add support for `basename` option of `createBrowserRouter…
onurtemizkan Jul 5, 2023
1d8c81f
ref: Extract error tree walking logic for `LinkedErrors` integrations…
lforst Jul 5, 2023
bfd8ff5
Merge branch 'develop' into priscila/feat/add-remix-e2e-test
priscilawebdev Jul 6, 2023
d439fc5
feat(tracing): Add tracing without performance to browser and client …
AbhiPrasad Jul 6, 2023
9c86bf4
build(angular): Avoid loading all `@types/` packages (#8466)
mydea Jul 6, 2023
5854132
fix(remix): Don't inject trace/baggage to `redirect` and `catch` resp…
onurtemizkan Jul 6, 2023
63da54c
feat: Support `AggregateErrors` in `LinkedErrors` integration (#8463)
lforst Jul 6, 2023
1ab37a3
Standardize copyright line
chadwhitacre Jul 6, 2023
d4cdca5
Merge pull request #8468 from getsentry/cwlw/mit-license
chadwhitacre Jul 6, 2023
7ebf28b
ref(end-2-end-build): Increase timeout
priscilawebdev Jul 7, 2023
8cdc8a8
cr feedback
priscilawebdev Jul 7, 2023
04bd6ff
Merge branch 'develop' into priscila/ref/end-2-end-test-increase-timeout
priscilawebdev Jul 7, 2023
0008d94
Merge pull request #8470 from getsentry/priscila/ref/end-2-end-test-i…
priscilawebdev Jul 7, 2023
befe6fa
Merge branch 'develop' into priscila/feat/add-remix-e2e-test
priscilawebdev Jul 7, 2023
97694e7
Merge pull request #8286 from getsentry/priscila/feat/add-remix-e2e-test
priscilawebdev Jul 7, 2023
86ffdf4
fix(nextjs): Ignore `tunnelRoute` when doing static exports (#8471)
lforst Jul 7, 2023
704b846
build(deps): bump semver from 5.7.1 to 5.7.2 (#8490)
dependabot[bot] Jul 11, 2023
4d781bc
feat(node): Export `getModule` for Electron SDK (#8488)
timfish Jul 11, 2023
86a4219
build(deps): bump semver
dependabot[bot] Jul 11, 2023
ae358ae
build(deps): bump semver in /packages/nextjs/test/buildProcess/testApp
dependabot[bot] Jul 11, 2023
99a0864
chore: Add 4th e2e test shard and disable remix e2e tests (#8486)
AbhiPrasad Jul 11, 2023
81baae6
test(e2e): Fix remix E2E test & types (#8495)
mydea Jul 11, 2023
5caec05
feat(node): Add tracing without performance to Node http integration …
AbhiPrasad Jul 11, 2023
db9523e
feat(node): Add tracing without performance to Node Undici (#8449)
AbhiPrasad Jul 11, 2023
428e531
chore(node): Remove `test.only` usage in context lines (#8485)
AbhiPrasad Jul 11, 2023
130e4a3
feat(types): Allow `user.id` to be a number (#8330)
HazAT Jul 11, 2023
87bdcba
meta: Don't gitignore `.d.ts` files (#8472)
lforst Jul 11, 2023
1167436
test(remix): Skip flaky firefox integration tests (#8506)
AbhiPrasad Jul 11, 2023
f0afc37
feat(node): Add trace context to checkin (#8503)
AbhiPrasad Jul 12, 2023
9b58519
fix(remix): Add explicit `@sentry/node` exports. (#8509)
onurtemizkan Jul 12, 2023
6e4e805
feat(core): Add sampling decision to trace envelope header (#8483)
AbhiPrasad Jul 12, 2023
7e9fb01
meta(changelog): Update changelog for 7.58.0
mydea Jul 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
key: ${{ steps.compute_lockfile_hash.outputs.hash }}

- name: Install dependencies
if: steps.cache_dependencies.outputs.cache_hit != 'true'
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: yarn install --ignore-engines --frozen-lockfile
outputs:
dependency_cache_key: ${{ steps.compute_lockfile_hash.outputs.hash }}
Expand Down Expand Up @@ -661,7 +661,7 @@ jobs:
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_node == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-20.04
timeout-minutes: 10
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -738,11 +738,11 @@ jobs:
github.actor != 'dependabot[bot]'
needs: [job_get_metadata, job_build]
runs-on: ubuntu-20.04
timeout-minutes: 20
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3]
shard: [1, 2, 3, 4]

steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
Expand Down Expand Up @@ -773,7 +773,7 @@ jobs:
E2E_TEST_SENTRY_ORG_SLUG: 'sentry-javascript-sdks'
E2E_TEST_SENTRY_TEST_PROJECT: 'sentry-javascript-e2e-tests'
E2E_TEST_SHARD: ${{ matrix.shard }}
E2E_TEST_SHARD_AMOUNT: 3
E2E_TEST_SHARD_AMOUNT: 4
run: |
cd packages/e2e-tests
yarn test:e2e
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ build/
dist/
coverage/
scratch/
*.d.ts
*.js.map
*.pyc
*.tsbuildinfo
Expand Down
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,64 @@

- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott

## 7.58.0

### Important Changes

- **Performance Monitoring not required for Distributed Tracing**

This release adds support for [distributed tracing](https://docs.sentry.io/platforms/javascript/usage/distributed-tracing/) without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the `tracePropagationTargets` option, which controls what requests to attach the `sentry-trace` and `baggage` HTTP headers to (which is what propagates tracing information).

```js
Sentry.init({
tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
});
```

- feat(tracing): Add tracing without performance to browser and client Sveltekit (#8458)
AbhiPrasad marked this conversation as resolved.
Show resolved Hide resolved
- feat(node): Add tracing without performance to Node http integration (#8450)
- feat(node): Add tracing without performance to Node Undici (#8449)
- feat(node): Populate propagation context using env variables (#8422)

- **feat(core): Support `AggregateErrors` in `LinkedErrors` integration (#8463)**

This release adds support for [`AggregateErrors`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError). AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the [Exception Groups Changelog Post](https://changelog.getsentry.com/announcements/exception-groups-now-supported-for-python-and-net) for more details.

Exception Group support requires Self-Hosted Sentry [version 23.5.1](https://github.com/getsentry/self-hosted/releases/tag/23.5.1) or newer.

- **feat(replay): Add a new option `networkDetailDenyUrls` (#8439)**

This release adds a new option `networkDetailDenyUrls` to the `Replay` integration. This option allows you to specify a list of URLs that should not be captured by the `Replay` integration, which can be used alongside the existing `networkDetailAllowUrls` for finely grained control of which URLs should have network details captured.

```js
Sentry.init({
integrations: [
new Sentry.Integrations.Replay({
networkDetailDenyUrls: [/^http:\/\/example.com\/test$/],
}),
],
});
```

### Other Changes

- feat(core): Add helpers to get module metadata from injected code (#8438)
- feat(core): Add sampling decision to trace envelope header (#8483)
- feat(node): Add trace context to checkin (#8503)
- feat(node): Export `getModule` for Electron SDK (#8488)
- feat(types): Allow `user.id` to be a number (#8330)
- fix(browser): Set anonymous `crossorigin` attribute on report dialog (#8424)
- fix(nextjs): Ignore `tunnelRoute` when doing static exports (#8471)
- fix(nextjs): Use `basePath` option for `tunnelRoute` (#8454)
- fix(node): Apply source context to linked errors even when it is uncached (#8453)
- fix(node): report errorMiddleware errors as unhandled (#8048)
- fix(react): Add support for `basename` option of `createBrowserRouter` (#8457)
- fix(remix): Add explicit `@sentry/node` exports. (#8509)
- fix(remix): Don't inject trace/baggage to `redirect` and `catch` responses (#8467)
- fix(replay): Adjust slow/multi click handling (#8380)

Work in this release contributed by @mrdulin, @donaldxdonald & @ziyad-elabid-nw. Thank you for your contributions!

## 7.57.0

### Important Changes
Expand Down
29 changes: 18 additions & 11 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
Copyright (c) 2018 Sentry (https://sentry.io) and individual contributors. All rights reserved.
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
Copyright (c) 2022 Functional Software, Inc. dba Sentry

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
Software.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "7.57.0",
"npmClient": "yarn",
"useWorkspaces": true
"npmClient": "yarn"
}
51 changes: 11 additions & 40 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,65 +3,35 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build:bundle",
"build:transpile",
"build:types",
"lint:eslint",
"test:unit"
],
"cacheableOperations": ["build:bundle", "build:transpile", "build:types", "lint:eslint", "test:unit"],
"cacheDirectory": ".nxcache"
}
}
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": [
"{workspaceRoot}/*.js",
"{workspaceRoot}/*.json"
],
"production": [
"default",
"!{projectRoot}/test/**/*",
"!{projectRoot}/**/*.md"
]
"sharedGlobals": ["{workspaceRoot}/*.js", "{workspaceRoot}/*.json"],
"production": ["default", "!{projectRoot}/test/**/*", "!{projectRoot}/**/*.md"]
},
"targetDefaults": {
"build:bundle": {
"inputs": ["production", "^production"],
"dependsOn": [
"build:transpile"
],
"outputs": [
"{projectRoot}/build/bundles"
]
"dependsOn": ["build:transpile"],
"outputs": ["{projectRoot}/build/bundles"]
},
"build:tarball": {
"inputs": ["production", "^production"],
"dependsOn": [
"build:transpile",
"build:types"
],
"dependsOn": ["build:transpile", "build:types"],
"outputs": []
},
"build:transpile": {
"inputs": ["production", "^production"],
"dependsOn": [
"^build:transpile:uncached",
"^build:transpile",
"build:transpile:uncached"
],
"outputs": [
"{projectRoot}/build/npm",
"{projectRoot}/build/esm",
"{projectRoot}/build/cjs"
]
"dependsOn": ["^build:transpile:uncached", "^build:transpile", "build:transpile:uncached"],
"outputs": ["{projectRoot}/build/npm", "{projectRoot}/build/esm", "{projectRoot}/build/cjs"]
},
"build:types": {
"inputs": ["production", "^production"],
"dependsOn": [
"^build:types"
],
"dependsOn": ["^build:types"],
"outputs": [
"{projectRoot}/build/types",
"{projectRoot}/build/types-ts3.8",
Expand All @@ -78,5 +48,6 @@
"inputs": ["default"],
"outputs": ["{projectRoot}/coverage"]
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"lint:eslint": "lerna run lint:eslint",
"validate:es5": "lerna run validate:es5",
"postpublish": "lerna run --stream --concurrency 1 postpublish",
"test": "lerna run --ignore @sentry-internal/* test",
"test:unit": "lerna run --ignore @sentry-internal/* test:unit",
"test-ci-browser": "lerna run test --ignore \"@sentry/{node,opentelemetry-node,serverless,nextjs,remix,gatsby,sveltekit}\" --ignore @sentry-internal/*",
"test": "lerna run --ignore \"@sentry-internal/{browser-integration-tests,e2e-tests,integration-shims,node-integration-tests,overhead-metrics}\" test",
"test:unit": "lerna run --ignore \"@sentry-internal/{browser-integration-tests,e2e-tests,integration-shims,node-integration-tests,overhead-metrics}\" test:unit",
"test-ci-browser": "lerna run test --ignore \"@sentry/{node,opentelemetry-node,serverless,nextjs,remix,gatsby,sveltekit}\" --ignore \"@sentry-internal/{browser-integration-tests,e2e-tests,integration-shims,node-integration-tests,overhead-metrics}\"",
"test-ci-node": "ts-node ./scripts/node-unit-tests.ts",
"test:update-snapshots": "lerna run test:update-snapshots",
"yalc:publish": "lerna run yalc:publish"
Expand Down Expand Up @@ -98,7 +98,7 @@
"jsdom": "^19.0.0",
"karma-browserstack-launcher": "^1.5.1",
"karma-firefox-launcher": "^1.1.0",
"lerna": "6.5.0-alpha.2",
"lerna": "7.1.1",
"madge": "4.0.2",
"mocha": "^6.1.4",
"nodemon": "^2.0.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-ivy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ import { TraceModule } from '@sentry/angular-ivy';
export class AppModule {}
```

Then inside your components template (keep in mind that directive name attribute is required):
Then, inside your component's template (keep in mind that the directive's name attribute is required):

```html
<app-header trace="header"></app-header>
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

If you're using Angular 12 or newer, we recommend using `@sentry/angular-ivy` for native support with Angular's rendering engine Ivy.

This SDK stilll officially supports Angular 10-15. If you are using an older version of Angular and experience problems with the Angular SDK, we recommend downgrading the SDK to version 6.x.
This SDK still officially supports Angular 10-15. If you are using an older version of Angular and experience problems with the Angular SDK, we recommend downgrading the SDK to version 6.x.

## General

Expand Down Expand Up @@ -175,7 +175,7 @@ import { TraceModule } from '@sentry/angular';
export class AppModule {}
```

Then inside your components template (keep in mind that directive name attribute is required):
Then, inside your component's template (keep in mind that the directive's name attribute is required):

```html
<app-header trace="header"></app-header>
Expand Down
1 change: 0 additions & 1 deletion packages/angular/src/errorhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function isErrorOrErrorLikeObject(value: unknown): value is Error {
const candidate = value as ErrorCandidate;

return (
isString(candidate.name) &&
isString(candidate.name) &&
isString(candidate.message) &&
(undefined === candidate.stack || isString(candidate.stack))
Expand Down
6 changes: 5 additions & 1 deletion packages/angular/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

"compilerOptions": {
// package-specific options
"experimentalDecorators": true
"experimentalDecorators": true,
// Avoid loading all @types/... packages as they may not be TS 4.0 compatible
// We have no types packages here we directly depend on,
// if we ever add some we need to allowlist them here
"types": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ sentryTest('should capture replays (@sentry/browser export)', async ({ getLocalT
version: SDK_VERSION,
name: 'sentry.javascript.browser',
},
sdkProcessingMetadata: {},
request: {
url: expect.stringContaining('/dist/index.html'),
headers: {
Expand Down Expand Up @@ -94,7 +93,6 @@ sentryTest('should capture replays (@sentry/browser export)', async ({ getLocalT
version: SDK_VERSION,
name: 'sentry.javascript.browser',
},
sdkProcessingMetadata: {},
request: {
url: expect.stringContaining('/dist/index.html'),
headers: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ sentryTest('should capture replays (@sentry/replay export)', async ({ getLocalTe
version: SDK_VERSION,
name: 'sentry.javascript.browser',
},
sdkProcessingMetadata: {},
request: {
url: expect.stringContaining('/dist/index.html'),
headers: {
Expand Down Expand Up @@ -94,7 +93,6 @@ sentryTest('should capture replays (@sentry/replay export)', async ({ getLocalTe
version: SDK_VERSION,
name: 'sentry.javascript.browser',
},
sdkProcessingMetadata: {},
request: {
url: expect.stringContaining('/dist/index.html'),
headers: {
Expand Down
4 changes: 4 additions & 0 deletions packages/browser-integration-tests/suites/replay/dsc/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ sentryTest(
trace_id: expect.any(String),
public_key: 'public',
replay_id: replay.session?.id,
sampled: 'true',
});
},
);
Expand Down Expand Up @@ -93,6 +94,7 @@ sentryTest(
sample_rate: '1',
trace_id: expect.any(String),
public_key: 'public',
sampled: 'true',
});
},
);
Expand Down Expand Up @@ -152,6 +154,7 @@ sentryTest(
trace_id: expect.any(String),
public_key: 'public',
replay_id: replay.session?.id,
sampled: 'true',
});
},
);
Expand Down Expand Up @@ -199,6 +202,7 @@ sentryTest(
sample_rate: '1',
trace_id: expect.any(String),
public_key: 'public',
sampled: 'true',
});
},
);