@pocket-tools/tracing 1.5.0 → 1.6.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 +5 -5
- package/.turbo/turbo-semantic-release.log +65 -82
- package/dist/index.js +1 -10
- package/dist/index.mjs +1 -10
- 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
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m6.46 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 142ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m4.36 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 152ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 9242ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m652.00 B[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m652.00 B[39m
|
|
@@ -14,96 +14,79 @@
|
|
|
14
14
|
[34mESM[39m Build start
|
|
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
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
17
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m4.36 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 119ms
|
|
19
|
+
[32mCJS[39m [1mdist/index.js [22m[32m6.46 KB[39m
|
|
20
|
+
[32mCJS[39m ⚡️ Build success in 119ms
|
|
21
21
|
[34mDTS[39m Build start
|
|
22
|
-
[32mDTS[39m ⚡️ Build success in
|
|
22
|
+
[32mDTS[39m ⚡️ Build success in 6821ms
|
|
23
23
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m652.00 B[39m
|
|
24
24
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m652.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
|
-
[
|
|
29
|
+
[6:51:32 PM] [semantic-release] › ℹ Running semantic-release version 24.1.0
|
|
30
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
|
|
31
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
|
|
32
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
|
|
33
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
|
|
34
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
|
|
35
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
|
|
36
|
+
[6:51:33 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
|
|
37
|
+
[6:51:35 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
|
|
38
|
+
[6:51:35 PM] [semantic-release] › ✔ Allowed to push to the Git repository
|
|
39
|
+
[6:51:35 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
|
|
40
|
+
[6:51:35 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
|
|
41
|
+
[6:51:35 PM] [semantic-release] [@semantic-release/npm] › ℹ Wrote NPM_TOKEN to /tmp/1a238100d0f8a4f91c347cef98b3615a/.npmrc
|
|
42
42
|
pocket-npm
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
[
|
|
52
|
-
[
|
|
43
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
|
|
44
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
|
|
45
|
+
[6:51:36 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
|
|
46
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
|
|
47
|
+
[6:51:36 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.5.1 associated with version 1.5.1 on branch main
|
|
48
|
+
[6:51:36 PM] [semantic-release] › ℹ Found 1 commits since last release
|
|
49
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
50
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
51
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
|
|
52
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: feat(otel): adding in basic tracing via otel (#798)
|
|
53
53
|
|
|
54
|
-
* feat(otel): adding in basic tracing via otel
|
|
54
|
+
* Revert "Revert "feat(otel): adding in basic tracing via otel (#794)" (#797)"
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
This reverts commit 59af83e42d62de7d3ef3563a8a633fff83408317.
|
|
57
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
|
-
[
|
|
89
|
-
[
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
94
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
95
|
-
[5:02:17 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
96
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
97
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
98
|
-
[5:02:17 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
99
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
100
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
101
|
-
[5:02:17 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
102
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
103
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
104
|
-
[5:02:17 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
105
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
106
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
107
|
-
[5:02:17 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
108
|
-
[5:02:17 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
109
|
-
[5:02:17 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
58
|
+
* feat(metrics): disabling metrics for now
|
|
59
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is minor
|
|
60
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: minor release
|
|
61
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
|
|
62
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
63
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
64
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
|
|
65
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
66
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
67
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
|
|
68
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
69
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
70
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
|
|
71
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
72
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
73
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
74
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
75
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
76
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
77
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
78
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
79
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
80
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
81
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
82
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
83
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
84
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
85
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
86
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
87
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
88
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
|
|
89
|
+
[6:51:36 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
|
|
90
|
+
[6:51:36 PM] [semantic-release] › ℹ The next release version is 1.6.0
|
|
91
|
+
[6:51:36 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
|
|
92
|
+
[6:51:36 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
|
package/dist/index.js
CHANGED
|
@@ -44,8 +44,6 @@ var import_instrumentation = require("@prisma/instrumentation");
|
|
|
44
44
|
var import_resources = require("@opentelemetry/resources");
|
|
45
45
|
var import_semantic_conventions = require("@opentelemetry/semantic-conventions");
|
|
46
46
|
var import_opentelemetry = require("@sentry/opentelemetry");
|
|
47
|
-
var import_sdk_metrics = require("@opentelemetry/sdk-metrics");
|
|
48
|
-
var import_exporter_metrics_otlp_grpc = require("@opentelemetry/exporter-metrics-otlp-grpc");
|
|
49
47
|
var import_auto_instrumentations_node = require("@opentelemetry/auto-instrumentations-node");
|
|
50
48
|
var import_resources2 = require("@opentelemetry/resources");
|
|
51
49
|
var Sentry = __toESM(require("@sentry/node"));
|
|
@@ -99,13 +97,6 @@ async function nodeSDKBuilder(config) {
|
|
|
99
97
|
//collector url
|
|
100
98
|
url: `http://${config.host}:${config.grpcDefaultPort}`
|
|
101
99
|
});
|
|
102
|
-
const _metricReader = new import_sdk_metrics.PeriodicExportingMetricReader({
|
|
103
|
-
exporter: new import_exporter_metrics_otlp_grpc.OTLPMetricExporter({
|
|
104
|
-
url: `http://${config.host}:${config.grpcDefaultPort}`
|
|
105
|
-
}),
|
|
106
|
-
exportIntervalMillis: 1e4
|
|
107
|
-
// once every 10 seconds, GCP supports 1 every 5 seconds for custom metrics https://cloud.google.com/monitoring/quotas#custom_metrics_quotas
|
|
108
|
-
});
|
|
109
100
|
const instrumentations = [
|
|
110
101
|
(0, import_auto_instrumentations_node.getNodeAutoInstrumentations)({
|
|
111
102
|
"@opentelemetry/instrumentation-fs": {
|
|
@@ -142,7 +133,7 @@ async function nodeSDKBuilder(config) {
|
|
|
142
133
|
idGenerator: new import_id_generator_aws_xray.AWSXRayIdGenerator(),
|
|
143
134
|
spanProcessors: [new import_sdk_trace_base.BatchSpanProcessor(_traceExporter)],
|
|
144
135
|
traceExporter: _traceExporter,
|
|
145
|
-
metricReader: _metricReader,
|
|
136
|
+
// metricReader: _metricReader,
|
|
146
137
|
// TODO: Remove after issue is fixed
|
|
147
138
|
// https://github.com/open-telemetry/opentelemetry-js/issues/4638
|
|
148
139
|
resourceDetectors: [
|
package/dist/index.mjs
CHANGED
|
@@ -15,8 +15,6 @@ import {
|
|
|
15
15
|
ATTR_SERVICE_VERSION
|
|
16
16
|
} from "@opentelemetry/semantic-conventions";
|
|
17
17
|
import { SentrySampler } from "@sentry/opentelemetry";
|
|
18
|
-
import { PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
|
|
19
|
-
import { OTLPMetricExporter } from "@opentelemetry/exporter-metrics-otlp-grpc";
|
|
20
18
|
import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node";
|
|
21
19
|
import {
|
|
22
20
|
envDetectorSync,
|
|
@@ -77,13 +75,6 @@ async function nodeSDKBuilder(config) {
|
|
|
77
75
|
//collector url
|
|
78
76
|
url: `http://${config.host}:${config.grpcDefaultPort}`
|
|
79
77
|
});
|
|
80
|
-
const _metricReader = new PeriodicExportingMetricReader({
|
|
81
|
-
exporter: new OTLPMetricExporter({
|
|
82
|
-
url: `http://${config.host}:${config.grpcDefaultPort}`
|
|
83
|
-
}),
|
|
84
|
-
exportIntervalMillis: 1e4
|
|
85
|
-
// once every 10 seconds, GCP supports 1 every 5 seconds for custom metrics https://cloud.google.com/monitoring/quotas#custom_metrics_quotas
|
|
86
|
-
});
|
|
87
78
|
const instrumentations = [
|
|
88
79
|
getNodeAutoInstrumentations({
|
|
89
80
|
"@opentelemetry/instrumentation-fs": {
|
|
@@ -120,7 +111,7 @@ async function nodeSDKBuilder(config) {
|
|
|
120
111
|
idGenerator: new AWSXRayIdGenerator(),
|
|
121
112
|
spanProcessors: [new BatchSpanProcessor(_traceExporter)],
|
|
122
113
|
traceExporter: _traceExporter,
|
|
123
|
-
metricReader: _metricReader,
|
|
114
|
+
// metricReader: _metricReader,
|
|
124
115
|
// TODO: Remove after issue is fixed
|
|
125
116
|
// https://github.com/open-telemetry/opentelemetry-js/issues/4638
|
|
126
117
|
resourceDetectors: [
|