@pocket-tools/tracing 1.7.10 → 1.8.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.
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-semantic-release.log +65 -62
- package/README.md +33 -0
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[33mCJS[39m [33mYou have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin[39m
|
|
12
12
|
[33mESM[39m [33mYou have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m9.74 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 121ms
|
|
15
13
|
[32mCJS[39m [1mdist/index.js [22m[32m11.93 KB[39m
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 129ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m9.74 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 130ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 8198ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m557.00 B[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m557.00 B[39m
|
|
@@ -15,74 +15,77 @@
|
|
|
15
15
|
[33mCJS[39m [33mYou have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin[39m
|
|
16
16
|
[33mESM[39m [33mYou have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin[39m
|
|
17
17
|
[32mCJS[39m [1mdist/index.js [22m[32m11.93 KB[39m
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 184ms
|
|
19
19
|
[32mESM[39m [1mdist/index.mjs [22m[32m9.74 KB[39m
|
|
20
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
+
[32mESM[39m ⚡️ Build success in 184ms
|
|
21
21
|
[34mDTS[39m Build start
|
|
22
|
-
[32mDTS[39m ⚡️ Build success in
|
|
22
|
+
[32mDTS[39m ⚡️ Build success in 7950ms
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m557.00 B[39m
|
|
24
24
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m557.00 B[39m
|
|
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
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
-
[
|
|
29
|
+
[10:56:35 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
|
|
30
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/exec"
|
|
31
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
|
|
32
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "verifyRelease" from "@semantic-release/exec"
|
|
33
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/exec"
|
|
34
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/exec"
|
|
35
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
|
|
36
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/exec"
|
|
37
|
+
[10:56:36 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
|
|
38
|
+
[10:56:41 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
|
|
39
|
+
[10:56:41 PM] [semantic-release] › ✔ Allowed to push to the Git repository
|
|
40
|
+
[10:56:41 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/exec"
|
|
41
|
+
[10:56:41 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/exec"
|
|
42
|
+
[10:56:41 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
|
|
43
|
+
[10:56:41 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
|
|
44
|
+
[10:56:41 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
|
|
45
|
+
[10:56:41 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.7.10 associated with version 1.7.10 on branch main
|
|
46
|
+
[10:56:41 PM] [semantic-release] › ℹ Found 2 commits since last release
|
|
47
|
+
[10:56:41 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
48
|
+
[10:56:41 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
49
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
|
|
50
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(observability): group traces for background processes in ADD (#858)
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
[
|
|
65
|
-
[
|
|
66
|
-
[
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[
|
|
52
|
+
Update documentation in tracing package on how to
|
|
53
|
+
do local overrides for 100% sampling of traces.
|
|
54
|
+
|
|
55
|
+
Add launch scripts for attaching and launching
|
|
56
|
+
the ADD service.
|
|
57
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
58
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: minor release
|
|
59
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
60
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
61
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
62
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
|
|
63
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
64
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
65
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/exec"
|
|
66
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
|
|
67
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/exec"
|
|
68
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
69
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
70
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
|
|
71
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
72
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
73
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
74
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
75
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
76
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
77
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
78
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
79
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
80
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
81
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
82
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
83
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
84
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
85
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
86
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
87
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
88
|
+
[10:56:42 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
89
|
+
[10:56:42 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
90
|
+
[10:56:42 PM] [semantic-release] › ℹ The next release version is 1.8.0
|
|
91
|
+
[10:56:42 PM] [semantic-release] › ℹ Start step "verifyRelease" of plugin "@semantic-release/exec"
|
package/README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
1
|
# Tracing
|
|
2
2
|
|
|
3
3
|
We use this package to implement tracing within our servers. Requires Sentry as our trace propogator.
|
|
4
|
+
|
|
5
|
+
# Local/Test Setup
|
|
6
|
+
|
|
7
|
+
We use a feature flag to control the percentage of traces which we sample and send to our collector.
|
|
8
|
+
|
|
9
|
+
When running locally, you can construct a mock Unleash client which mimics this feature flag:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
const unleash = mockUnleash([
|
|
13
|
+
{
|
|
14
|
+
name: 'perm.backend.sentry-trace-sampler-rate',
|
|
15
|
+
enabled: true,
|
|
16
|
+
strategies: [
|
|
17
|
+
{
|
|
18
|
+
name: 'default',
|
|
19
|
+
constraints: [],
|
|
20
|
+
parameters: {
|
|
21
|
+
rollout: '100',
|
|
22
|
+
stickiness: 'default',
|
|
23
|
+
groupId: 'perm.backend.sentry-trace-sampler-rate',
|
|
24
|
+
},
|
|
25
|
+
variants: [
|
|
26
|
+
{
|
|
27
|
+
name: 'samplePercent',
|
|
28
|
+
weight: 1000,
|
|
29
|
+
payload: { type: PayloadType.NUMBER, value: '1.0' },
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
]).unleash;
|
|
36
|
+
```
|