@pocket-tools/tracing 1.0.1 → 1.1.0

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.69 KB
14
+ ESM ⚡️ Build success in 245ms
15
+ CJS dist/index.js 24.93 KB
16
+ CJS ⚡️ Build success in 269ms
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 12200ms
19
+ DTS dist/index.d.ts 573.00 B
20
+ DTS dist/index.d.mts 573.00 B
@@ -2,80 +2,71 @@
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
+ [7:10:38 PM] [semantic-release] › ℹ Running semantic-release version 23.0.7
6
+ [7:10:39 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
7
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
8
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
9
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
10
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
11
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
12
+ [7:10:40 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
13
+ [7:10:50 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
14
+ [7:10:50 PM] [semantic-release] › ✔ Allowed to push to the Git repository
15
+ [7:10:50 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
16
+ [7:10:50 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
17
+ [7:10:50 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)
19
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
20
+ [7:10:52 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
21
+ [7:10:52 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
22
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
23
+ [7:10:52 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.0.1 associated with version 1.0.1 on branch main
24
+ [7:10:52 PM] [semantic-release] › ℹ Found 10 commits since last release
25
+ [7:10:52 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
26
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
27
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
28
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(tracing): enable custom ORM tracing instrumentations per service (#532)
29
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
30
+ - opens up this package to services using prisma
31
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
32
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] ℹ Analysis of 1 commits complete: minor release
33
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
34
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
35
+ [7:10:52 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
36
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
37
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
38
+ [7:10:52 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
39
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
40
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
41
+ [7:10:52 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
42
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
43
+ [7:10:52 PM] [semantic-release] ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
44
+ [7:10:52 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
45
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
46
+ [7:10:52 PM] [semantic-release] › Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
47
+ [7:10:52 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
48
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
49
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
+ [7:10:52 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
51
+ [7:10:52 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
52
+ [7:10:52 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
53
+ [7:10:52 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
54
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
55
+ [7:10:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
56
+ [7:10:53 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
57
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
58
+ [7:10:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
59
+ [7:10:53 PM] [semantic-release] › Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
60
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
61
+ [7:10:53 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
+ [7:10:53 PM] [semantic-release] › The next release version is 1.1.0
63
+ [7:10:53 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
64
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
65
+ [7:10:53 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
66
+ [7:10:53 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
67
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
68
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] Found 1 commits for package @pocket-tools/tracing since last release
69
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
70
+ [7:10:53 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
71
+ [7:10:53 PM] [semantic-release] › Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
72
+ [7:10:53 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "generateNotes"
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 };