@pocket-tools/tracing 1.7.3 → 1.7.5

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 7.60 KB
14
- CJS ⚡️ Build success in 114ms
15
- ESM dist/index.mjs 5.43 KB
16
- ESM ⚡️ Build success in 129ms
13
+ ESM dist/index.mjs 5.76 KB
14
+ ESM ⚡️ Build success in 120ms
15
+ CJS dist/index.js 7.93 KB
16
+ CJS ⚡️ Build success in 121ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 7515ms
18
+ DTS ⚡️ Build success in 8658ms
19
19
  DTS dist/index.d.ts 549.00 B
20
20
  DTS dist/index.d.mts 549.00 B
@@ -14,77 +14,75 @@
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
- CJS dist/index.js 7.60 KB
18
- CJS ⚡️ Build success in 196ms
19
- ESM dist/index.mjs 5.43 KB
20
- ESM ⚡️ Build success in 204ms
17
+ CJS dist/index.js 7.93 KB
18
+ CJS ⚡️ Build success in 111ms
19
+ ESM dist/index.mjs 5.76 KB
20
+ ESM ⚡️ Build success in 112ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 7187ms
22
+ DTS ⚡️ Build success in 6876ms
23
23
  DTS dist/index.d.ts 549.00 B
24
24
  DTS dist/index.d.mts 549.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
- [4:10:23 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
- [4:10:25 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
- [4:10:30 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
- [4:10:31 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
- [4:10:31 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
- [4:10:31 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
- [4:10:31 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/f3ff2908e074a6c6ba1e753a22adf067/.npmrc
29
+ [8:14:14 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
+ [8:14:15 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
+ [8:14:20 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
+ [8:14:20 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
+ [8:14:20 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
+ [8:14:20 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
+ [8:14:20 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/57d46f66c56c15bcf6050d9af8788124/.npmrc
42
42
  pocket-npm
43
- [4:10:32 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
- [4:10:32 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
- [4:10:32 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
- [4:10:32 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
- [4:10:32 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.2 associated with version 1.7.2 on branch main
48
- [4:10:32 PM] [semantic-release] › ℹ Found 3 commits since last release
49
- [4:10:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(graphql): ensuring we get graphql values in traces (#810)
43
+ [8:14:21 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
+ [8:14:21 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
+ [8:14:21 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
+ [8:14:21 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
+ [8:14:21 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.4 associated with version 1.7.4 on branch main
48
+ [8:14:21 PM] [semantic-release] › ℹ Found 1 commits since last release
49
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(deps): update sentry-javascript monorepo to v8.33.1 (#812)
53
53
 
54
- * fix(values): allow graphql values in the otel
55
-
56
- * fix(x-amzn): ensuring v3 proxy has its own trace
57
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
58
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: patch release
59
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
60
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
63
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
65
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
66
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
68
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
69
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
71
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
72
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
74
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
75
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
76
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
77
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
78
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
79
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
80
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
81
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
82
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
83
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
84
- [4:10:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
85
- [4:10:32 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
86
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
87
- [4:10:32 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
88
- [4:10:32 PM] [semantic-release] › ℹ The next release version is 1.7.3
89
- [4:10:32 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
90
- [4:10:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
54
+ Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
55
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
56
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ Analysis of 1 commits complete: patch release
57
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
58
+ [8:14:21 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
59
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
60
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
61
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
63
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
64
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
65
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
66
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
67
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
68
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
69
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
70
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
71
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
72
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
73
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
74
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
75
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
76
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
77
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
78
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
79
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
80
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
81
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
82
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
83
+ [8:14:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
84
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
85
+ [8:14:21 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
86
+ [8:14:21 PM] [semantic-release] › ℹ The next release version is 1.7.5
87
+ [8:14:21 PM] [semantic-release] › Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
88
+ [8:14:21 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
package/dist/index.js CHANGED
@@ -116,17 +116,25 @@ async function nodeSDKBuilder(config) {
116
116
  },
117
117
  "@opentelemetry/instrumentation-undici": {
118
118
  headersToSpanAttributes: {
119
- requestHeaders: [
120
- "sentry-trace",
121
- "baggage",
122
- "x-amzn-trace-id",
123
- "encodedid",
124
- "applicationname"
125
- ]
119
+ // Outgoing fetch headers to capture on the span
120
+ requestHeaders: ["sentry-trace", "baggage", "x-amzn-trace-id"]
126
121
  }
127
122
  },
128
123
  "@opentelemetry/instrumentation-http": {
129
- ignoreIncomingPaths: ["/.well-known/apollo/server-health"]
124
+ ignoreIncomingPaths: ["/.well-known/apollo/server-health"],
125
+ headersToSpanAttributes: {
126
+ server: {
127
+ // Incoming request headers to be added as span attributes for debugging
128
+ requestHeaders: [
129
+ "encodedid",
130
+ "applicationname",
131
+ "apiId",
132
+ "gatewayUserAgent",
133
+ "premium",
134
+ "content-type"
135
+ ]
136
+ }
137
+ }
130
138
  },
131
139
  "@opentelemetry/instrumentation-graphql": {
132
140
  ignoreTrivialResolveSpans: true,
package/dist/index.mjs CHANGED
@@ -90,17 +90,25 @@ async function nodeSDKBuilder(config) {
90
90
  },
91
91
  "@opentelemetry/instrumentation-undici": {
92
92
  headersToSpanAttributes: {
93
- requestHeaders: [
94
- "sentry-trace",
95
- "baggage",
96
- "x-amzn-trace-id",
97
- "encodedid",
98
- "applicationname"
99
- ]
93
+ // Outgoing fetch headers to capture on the span
94
+ requestHeaders: ["sentry-trace", "baggage", "x-amzn-trace-id"]
100
95
  }
101
96
  },
102
97
  "@opentelemetry/instrumentation-http": {
103
- ignoreIncomingPaths: ["/.well-known/apollo/server-health"]
98
+ ignoreIncomingPaths: ["/.well-known/apollo/server-health"],
99
+ headersToSpanAttributes: {
100
+ server: {
101
+ // Incoming request headers to be added as span attributes for debugging
102
+ requestHeaders: [
103
+ "encodedid",
104
+ "applicationname",
105
+ "apiId",
106
+ "gatewayUserAgent",
107
+ "premium",
108
+ "content-type"
109
+ ]
110
+ }
111
+ }
104
112
  },
105
113
  "@opentelemetry/instrumentation-graphql": {
106
114
  ignoreTrivialResolveSpans: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-tools/tracing",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "Utilities for tracing",
5
5
  "keywords": [
6
6
  "tracing"
@@ -87,8 +87,8 @@
87
87
  "@opentelemetry/semantic-conventions": "1.27.0",
88
88
  "@opentelemetry/winston-transport": "0.6.0",
89
89
  "@prisma/instrumentation": "5.19.1",
90
- "@sentry/node": "8.33.0",
91
- "@sentry/opentelemetry": "8.33.0",
90
+ "@sentry/node": "8.33.1",
91
+ "@sentry/opentelemetry": "8.33.1",
92
92
  "tslib": "2.7.0"
93
93
  },
94
94
  "devDependencies": {