@pocket-tools/tracing 1.0.1 → 1.1.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
- ESM dist/index.mjs 68.76 KB
14
- ESM ⚡️ Build success in 561ms
15
- CJS dist/index.js 70.80 KB
16
- CJS ⚡️ Build success in 568ms
13
+ ESM dist/index.mjs 22.72 KB
14
+ ESM ⚡️ Build success in 330ms
15
+ CJS dist/index.js 24.96 KB
16
+ CJS ⚡️ Build success in 344ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 12095ms
19
- DTS dist/index.d.ts 400.00 B
20
- DTS dist/index.d.mts 400.00 B
18
+ DTS ⚡️ Build success in 14320ms
19
+ DTS dist/index.d.ts 573.00 B
20
+ DTS dist/index.d.mts 573.00 B
@@ -2,80 +2,70 @@
2
2
  > @pocket-tools/tracing@0.0.0-development semantic-release /home/runner/work/pocket-monorepo/pocket-monorepo/packages/tracing
3
3
  > semantic-release
4
4
 
5
- [12:45:07 AM] [semantic-release] › ℹ Running semantic-release version 23.0.7
6
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
7
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
8
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
9
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
10
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
11
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
12
- [12:45:09 AM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
13
- [12:45:13 AM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
14
- [12:45:14 AM] [semantic-release] › ✔ Allowed to push to the Git repository
15
- [12:45:14 AM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
16
- [12:45:14 AM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
17
- [12:45:14 AM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/pocket-monorepo/pocket-monorepo/.npmrc, /home/runner/work/_temp/.npmrc
5
+ [8:48:29 PM] [semantic-release] › ℹ Running semantic-release version 23.0.7
6
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
7
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
8
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
9
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
10
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
11
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
12
+ [8:48:31 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
13
+ [8:48:34 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
14
+ [8:48:35 PM] [semantic-release] › ✔ Allowed to push to the Git repository
15
+ [8:48:35 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
16
+ [8:48:35 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
17
+ [8:48:35 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/pocket-monorepo/pocket-monorepo/.npmrc, /home/runner/work/_temp/.npmrc
18
18
  pocket-npm
19
- [12:45:16 AM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
20
- [12:45:16 AM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
21
- [12:45:16 AM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
22
- [12:45:16 AM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
23
- [12:45:16 AM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.0.0 associated with version 1.0.0 on branch main
24
- [12:45:16 AM] [semantic-release] › ℹ Found 40 commits since last release
25
- [12:45:16 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
26
- [12:45:16 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
27
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 2 commits for package @pocket-tools/tracing since last release
28
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(deps): update opentelemetry-js monorepo (#518)
29
-
30
- * fix(deps): update opentelemetry-js monorepo
31
-
32
- * chore(deps): updating remaining otel
33
-
34
- ---------
35
-
36
- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
37
- Co-authored-by: Daniel Brooks <bass_rock@me.com>
38
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
39
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: chore(kysley): switch parser-wrapper to keysley (#494)
40
-
41
- * chore(keysly): adding in initial keysly config
42
-
43
- * fix(keysly): update to use keysly
44
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The commit should not trigger a release
45
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 2 commits complete: patch release
46
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
47
- [12:45:17 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
48
- [12:45:17 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
49
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
50
- [12:45:17 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
51
- [12:45:17 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
52
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
53
- [12:45:17 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
54
- [12:45:17 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
55
- [12:45:17 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
56
- [12:45:17 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
57
- [12:45:17 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
58
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
59
- [12:45:18 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
60
- [12:45:18 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
62
- [12:45:18 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
63
- [12:45:18 AM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
65
- [12:45:18 AM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
66
- [12:45:18 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
67
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
68
- [12:45:18 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
69
- [12:45:18 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
70
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
71
- [12:45:18 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
72
- [12:45:18 AM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
73
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
74
- [12:45:18 AM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
75
- [12:45:18 AM] [semantic-release] › ℹ The next release version is 1.0.1
76
- [12:45:18 AM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
77
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
78
- [12:45:18 AM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
79
- [12:45:18 AM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
80
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
81
- [12:45:18 AM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 2 commits for package @pocket-tools/tracing since last release
19
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
20
+ [8:48:37 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
21
+ [8:48:37 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
22
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
23
+ [8:48:37 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.1.0 associated with version 1.1.0 on branch main
24
+ [8:48:37 PM] [semantic-release] › ℹ Found 1 commits since last release
25
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
26
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
27
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
28
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(tracing): provide default value for additional instrumentation (#534)
29
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
30
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: patch release
31
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
32
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
33
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
34
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
35
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
36
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
37
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
38
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
39
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
40
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
41
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
42
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
43
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ No more plugins
44
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
45
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
46
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
47
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
48
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
49
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
50
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
51
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
52
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
53
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
54
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
55
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
56
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
57
+ [8:48:37 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
58
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
59
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
60
+ [8:48:37 PM] [semantic-release] › ℹ The next release version is 1.1.1
61
+ [8:48:37 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
62
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
63
+ [8:48:37 PM] [semantic-release] › Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
64
+ [8:48:37 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
65
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
66
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
67
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
68
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
69
+ [8:48:37 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
70
+ [8:48:37 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "generateNotes"
71
+ [8:48:37 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
package/dist/index.d.mts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { DiagLogger } from '@opentelemetry/api';
2
2
 
3
+ declare enum AdditionalInstrumentation {
4
+ KNEX = "KNEX",
5
+ PRISMA = "PRISMA"
6
+ }
3
7
  type TracingConfig = {
4
8
  serviceName: string;
5
9
  release: string;
@@ -9,7 +13,8 @@ type TracingConfig = {
9
13
  httpDefaultPort?: number;
10
14
  host?: string;
11
15
  logger?: DiagLogger;
16
+ additionalInstrumentations?: AdditionalInstrumentation[];
12
17
  };
13
18
  declare function nodeSDKBuilder(config: TracingConfig): Promise<void>;
14
19
 
15
- export { type TracingConfig, nodeSDKBuilder };
20
+ export { AdditionalInstrumentation, type TracingConfig, nodeSDKBuilder };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { DiagLogger } from '@opentelemetry/api';
2
2
 
3
+ declare enum AdditionalInstrumentation {
4
+ KNEX = "KNEX",
5
+ PRISMA = "PRISMA"
6
+ }
3
7
  type TracingConfig = {
4
8
  serviceName: string;
5
9
  release: string;
@@ -9,7 +13,8 @@ type TracingConfig = {
9
13
  httpDefaultPort?: number;
10
14
  host?: string;
11
15
  logger?: DiagLogger;
16
+ additionalInstrumentations?: AdditionalInstrumentation[];
12
17
  };
13
18
  declare function nodeSDKBuilder(config: TracingConfig): Promise<void>;
14
19
 
15
- export { type TracingConfig, nodeSDKBuilder };
20
+ export { AdditionalInstrumentation, type TracingConfig, nodeSDKBuilder };