@pocket-tools/tracing 1.7.0 → 1.7.1

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 8.24 KB
14
- CJS ⚡️ Build success in 124ms
15
- ESM dist/index.mjs 6.00 KB
16
- ESM ⚡️ Build success in 120ms
13
+ CJS dist/index.js 8.39 KB
14
+ CJS ⚡️ Build success in 184ms
15
+ ESM dist/index.mjs 6.15 KB
16
+ ESM ⚡️ Build success in 185ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 8668ms
18
+ DTS ⚡️ Build success in 8723ms
19
19
  DTS dist/index.d.ts 623.00 B
20
20
  DTS dist/index.d.mts 623.00 B
@@ -14,79 +14,74 @@
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 8.24 KB
18
- CJS ⚡️ Build success in 139ms
19
- ESM dist/index.mjs 6.00 KB
20
- ESM ⚡️ Build success in 140ms
17
+ ESM dist/index.mjs 6.15 KB
18
+ ESM ⚡️ Build success in 139ms
19
+ CJS dist/index.js 8.39 KB
20
+ CJS ⚡️ Build success in 140ms
21
21
  DTS Build start
22
- DTS ⚡️ Build success in 4782ms
22
+ DTS ⚡️ Build success in 6987ms
23
23
  DTS dist/index.d.ts 623.00 B
24
24
  DTS dist/index.d.mts 623.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
- [8:36:37 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
- [8:36:38 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
- [8:36:39 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
- [8:36:40 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
- [8:36:40 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
- [8:36:40 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
- [8:36:40 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/6b33a06555b543124f1a259142503f19/.npmrc
29
+ [5:46:16 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
30
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
31
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
32
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
33
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
34
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
35
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
36
+ [5:46:16 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
37
+ [5:46:19 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
38
+ [5:46:20 PM] [semantic-release] › ✔ Allowed to push to the Git repository
39
+ [5:46:20 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
40
+ [5:46:20 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
41
+ [5:46:20 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/1b9732fbbf7482ab859cd833093ec597/.npmrc
42
42
  pocket-npm
43
- [8:36:40 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
- [8:36:40 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
- [8:36:40 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
- [8:36:40 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
- [8:36:40 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.6.1 associated with version 1.6.1 on branch main
48
- [8:36:40 PM] [semantic-release] › ℹ Found 4 commits since last release
49
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(otel): adding in basic tracing via otel (#800)
53
-
54
- * Revert "Revert "feat(otel): adding in basic tracing via otel (#798)" (#799)"
55
-
56
- This reverts commit 57c2a13f78151326975cb174709a549970a06ed3.
57
-
58
- * fix(collector): move to an otel collector
59
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
60
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: minor release
61
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
62
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
63
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
65
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
66
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
68
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
69
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
71
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
72
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
74
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
75
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
76
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
77
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
78
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
79
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
80
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
81
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
82
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
83
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
84
- [8:36:40 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
85
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
86
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
87
- [8:36:40 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
88
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
89
- [8:36:40 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
90
- [8:36:40 PM] [semantic-release] › ℹ The next release version is 1.7.0
91
- [8:36:40 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
92
- [8:36:40 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
43
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
44
+ [5:46:20 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
45
+ [5:46:20 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
46
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
47
+ [5:46:20 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.0 associated with version 1.7.0 on branch main
48
+ [5:46:20 PM] [semantic-release] › ℹ Found 1 commits since last release
49
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
51
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
52
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(otel): adjusting otel processing settings (#803)
53
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
54
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ Analysis of 1 commits complete: patch release
55
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
56
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
57
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
58
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
59
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
60
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
62
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
63
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
65
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
66
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
68
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
69
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
71
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
72
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
74
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
75
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
76
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
77
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
78
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
79
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
80
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
81
+ [5:46:20 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
82
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
83
+ [5:46:20 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
84
+ [5:46:20 PM] [semantic-release] › ℹ The next release version is 1.7.1
85
+ [5:46:20 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
86
+ [5:46:20 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
87
+ [5:46:20 PM] [semantic-release] › Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
package/dist/index.js CHANGED
@@ -85,6 +85,7 @@ function awaitAttributes(detector) {
85
85
  var _a;
86
86
  const resource = detector.detect(config);
87
87
  await ((_a = resource.waitForAsyncAttributes) == null ? void 0 : _a.call(resource));
88
+ console.log("Detected resource: ", resource);
88
89
  return resource;
89
90
  }
90
91
  };
@@ -137,6 +138,9 @@ async function nodeSDKBuilder(config) {
137
138
  },
138
139
  "@opentelemetry/instrumentation-http": {
139
140
  ignoreIncomingPaths: ["/.well-known/apollo/server-health"]
141
+ },
142
+ "@opentelemetry/instrumentation-graphql": {
143
+ ignoreTrivialResolveSpans: true
140
144
  }
141
145
  })
142
146
  ];
package/dist/index.mjs CHANGED
@@ -59,6 +59,7 @@ function awaitAttributes(detector) {
59
59
  var _a;
60
60
  const resource = detector.detect(config);
61
61
  await ((_a = resource.waitForAsyncAttributes) == null ? void 0 : _a.call(resource));
62
+ console.log("Detected resource: ", resource);
62
63
  return resource;
63
64
  }
64
65
  };
@@ -111,6 +112,9 @@ async function nodeSDKBuilder(config) {
111
112
  },
112
113
  "@opentelemetry/instrumentation-http": {
113
114
  ignoreIncomingPaths: ["/.well-known/apollo/server-health"]
115
+ },
116
+ "@opentelemetry/instrumentation-graphql": {
117
+ ignoreTrivialResolveSpans: true
114
118
  }
115
119
  })
116
120
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-tools/tracing",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Utilities for tracing",
5
5
  "keywords": [
6
6
  "tracing"