@pocket-tools/tracing 1.7.7 → 1.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,11 @@
10
10
  ESM Build start
11
11
  CJS You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
12
12
  ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
13
- CJS dist/index.js 11.60 KB
14
- CJS ⚡️ Build success in 105ms
15
- ESM dist/index.mjs 9.41 KB
16
- ESM ⚡️ Build success in 112ms
13
+ CJS dist/index.js 11.93 KB
14
+ CJS ⚡️ Build success in 98ms
15
+ ESM dist/index.mjs 9.74 KB
16
+ ESM ⚡️ Build success in 109ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 8390ms
18
+ DTS ⚡️ Build success in 9996ms
19
19
  DTS dist/index.d.ts 557.00 B
20
20
  DTS dist/index.d.mts 557.00 B
@@ -14,77 +14,77 @@
14
14
  ESM Build start
15
15
  CJS You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
16
16
  ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
17
- ESM dist/index.mjs 9.41 KB
18
- ESM ⚡️ Build success in 181ms
19
- CJS dist/index.js 11.60 KB
20
- CJS ⚡️ Build success in 181ms
17
+ ESM dist/index.mjs 9.74 KB
18
+ ESM ⚡️ Build success in 154ms
19
+ CJS dist/index.js 11.93 KB
20
+ CJS ⚡️ Build success in 158ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 8139ms
22
+ DTS ⚡️ Build success in 8955ms
23
23
  DTS dist/index.d.ts 557.00 B
24
24
  DTS dist/index.d.mts 557.00 B
25
25
 
26
26
  > @pocket-tools/tracing@0.0.0-development semantic-release /home/runner/work/pocket-monorepo/pocket-monorepo/packages/tracing
27
27
  > semantic-release
28
28
 
29
- [11:32:53 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
- [11:32:55 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
- [11:33:00 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
- [11:33:01 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
- [11:33:01 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
- [11:33:01 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
- [11:33:01 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/1eeff18a3ab33a955909b8c7f172a5d8/.npmrc
29
+ [4:34:36 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
+ [4:34:37 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
+ [4:34:48 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
+ [4:34:48 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
+ [4:34:48 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
+ [4:34:48 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
+ [4:34:48 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/bd28f8e5aa20b6ffc9298091e423cc89/.npmrc
42
42
  pocket-npm
43
- [11:33:02 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
- [11:33:02 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
- [11:33:02 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
- [11:33:02 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
- [11:33:02 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.6 associated with version 1.7.6 on branch main
48
- [11:33:02 PM] [semantic-release] › ℹ Found 1 commits since last release
49
- [11:33:02 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
- [11:33:02 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
- [11:33:02 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
- [11:33:02 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(otel): ensure sentry inits first (#809)
43
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
+ [4:34:49 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
+ [4:34:49 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
+ [4:34:49 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.7 associated with version 1.7.7 on branch main
48
+ [4:34:49 PM] [semantic-release] › ℹ Found 1 commits since last release
49
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(sentry): ensure sentry tagging checks body (#820)
53
53
 
54
- * fix(otel): working on removing double trace ids from outgoing requests
54
+ * fix(sentry): ensure sentry tagging checks body
55
55
 
56
- * fix(otel): ensure sentry always boots first for request isolation
57
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
58
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: patch release
59
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
60
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
63
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
65
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
66
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
68
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
69
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
71
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
72
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
74
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
75
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
76
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
77
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
78
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
79
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
80
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
81
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
82
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
83
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
84
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
85
- [11:33:03 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
86
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
87
- [11:33:03 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
88
- [11:33:03 PM] [semantic-release] › ℹ The next release version is 1.7.7
89
- [11:33:03 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
90
- [11:33:03 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
56
+ * fix(otel): improving otel to priotize XRay
57
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
58
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: patch release
59
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
60
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
63
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
65
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
66
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
68
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
69
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
71
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
72
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
74
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
75
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
76
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
77
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
78
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
79
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
80
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
81
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
82
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
83
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
84
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
85
+ [4:34:49 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
86
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
87
+ [4:34:49 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
88
+ [4:34:49 PM] [semantic-release] › ℹ The next release version is 1.7.8
89
+ [4:34:49 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
90
+ [4:34:49 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
package/dist/index.js CHANGED
@@ -152,7 +152,10 @@ async function nodeSDKBuilder(config) {
152
152
  });
153
153
  const sdk = new import_sdk_node.NodeSDK({
154
154
  textMapPropagator: new import_core.CompositePropagator({
155
- propagators: [new import_propagator_aws_xray.AWSXRayPropagator(), new import_opentelemetry.SentryPropagator()]
155
+ // The Propogators are run in the order they are added, and since we want the AWSXRAY to win,
156
+ // it must come last because it writes the parent context "sampled" data from the trace into the contexts
157
+ // We Keep Sentry in here, because it adds data that Sentry needs, we just don't want it to control the sample value.
158
+ propagators: [new import_opentelemetry.SentryPropagator(), new import_propagator_aws_xray.AWSXRayPropagator()]
156
159
  }),
157
160
  instrumentations,
158
161
  sampler: new SentryParentSampler({
package/dist/index.mjs CHANGED
@@ -132,7 +132,10 @@ async function nodeSDKBuilder(config) {
132
132
  });
133
133
  const sdk = new NodeSDK({
134
134
  textMapPropagator: new CompositePropagator({
135
- propagators: [new AWSXRayPropagator(), new SentryPropagator()]
135
+ // The Propogators are run in the order they are added, and since we want the AWSXRAY to win,
136
+ // it must come last because it writes the parent context "sampled" data from the trace into the contexts
137
+ // We Keep Sentry in here, because it adds data that Sentry needs, we just don't want it to control the sample value.
138
+ propagators: [new SentryPropagator(), new AWSXRayPropagator()]
136
139
  }),
137
140
  instrumentations,
138
141
  sampler: new SentryParentSampler({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-tools/tracing",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Utilities for tracing",
5
5
  "keywords": [
6
6
  "tracing"