@pocket-tools/tracing 1.3.14 → 1.3.15

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 7.08 KB
14
- ESM ⚡️ Build success in 132ms
15
- CJS dist/index.js 9.62 KB
16
- CJS ⚡️ Build success in 132ms
13
+ ESM dist/index.mjs 7.83 KB
14
+ ESM ⚡️ Build success in 125ms
15
+ CJS dist/index.js 10.39 KB
16
+ CJS ⚡️ Build success in 133ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 9573ms
18
+ DTS ⚡️ Build success in 9558ms
19
19
  DTS dist/index.d.ts 1.41 KB
20
20
  DTS dist/index.d.mts 1.41 KB
@@ -2,72 +2,73 @@
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
- [2:45:06 PM] [semantic-release] › ℹ Running semantic-release version 24.0.0
6
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
7
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
8
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
9
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
10
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
11
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
12
- [2:45:08 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
13
- [2:45:21 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
14
- [2:45:21 PM] [semantic-release] › ✔ Allowed to push to the Git repository
15
- [2:45:21 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
16
- [2:45:21 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
17
- [2:45:21 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/_temp/.npmrc
5
+ [10:42:23 PM] [semantic-release] › ℹ Running semantic-release version 24.0.0
6
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
7
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
8
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
9
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
10
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
11
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
12
+ [10:42:25 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
13
+ [10:42:29 PM] [semantic-release] › ✔ Run automated release from branch main on repository git+https://github.com/Pocket/pocket-monorepo.git
14
+ [10:42:30 PM] [semantic-release] › ✔ Allowed to push to the Git repository
15
+ [10:42:30 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
16
+ [10:42:30 PM] [semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
17
+ [10:42:30 PM] [semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /home/runner/work/_temp/.npmrc
18
18
  pocket-npm
19
- [2:45:23 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
20
- [2:45:23 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
21
- [2:45:23 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
22
- [2:45:23 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
23
- [2:45:23 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.3.13 associated with version 1.3.13 on branch main
24
- [2:45:23 PM] [semantic-release] › ℹ Found 2 commits since last release
25
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
26
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
27
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 2 commits for package @pocket-tools/tracing since last release
28
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(deps): update sentry-javascript monorepo to v8.18.0 (#661)
19
+ [10:42:31 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
20
+ [10:42:31 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/github"
21
+ [10:42:31 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication (https://api.github.com)
22
+ [10:42:31 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/github"
23
+ [10:42:32 PM] [semantic-release] › ℹ Found git tag @pocket-tools/tracing-v1.3.14 associated with version 1.3.14 on branch main
24
+ [10:42:32 PM] [semantic-release] › ℹ Found 5 commits since last release
25
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
26
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
27
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
28
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(otel): fix async resource attribute access issue (#667)
29
29
 
30
- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
31
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
32
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analyzing commit: fix(sampling): lowering our sampling ratio (#662)
33
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
34
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 2 commits complete: patch release
35
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
36
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
37
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
38
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
39
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
40
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
41
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
42
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
43
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
44
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
45
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
46
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
47
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
48
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
49
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
51
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
52
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
53
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
54
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
55
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
56
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
57
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
58
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
59
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
60
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
- [2:45:23 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
63
- [2:45:23 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
- [2:45:23 PM] [semantic-release] › ℹ The next release version is 1.3.14
65
- [2:45:23 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
66
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
67
- [2:45:23 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
68
- [2:45:23 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
69
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
70
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 2 commits for package @pocket-tools/tracing since last release
71
- [2:45:23 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
72
- [2:45:23 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
73
- [2:45:23 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
30
+ https://github.com/open-telemetry/opentelemetry-js/issues/4638
31
+
32
+ [POCKET-10371]
33
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ The release type for the commit is patch
34
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Analysis of 1 commits complete: patch release
35
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
36
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
37
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
38
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/release-notes-generator" does not provide step "analyzeCommits"
39
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
40
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
41
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "analyzeCommits"
42
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
43
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
44
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/github" does not provide step "analyzeCommits"
45
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
46
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
47
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
48
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
49
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
50
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
51
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
52
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
53
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
54
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
55
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
56
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
57
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
58
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
59
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
60
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
61
+ [10:42:32 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
62
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ No more plugins
63
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "[Function: semantic-release-monorepo]"
64
+ [10:42:32 PM] [semantic-release] › ℹ The next release version is 1.3.15
65
+ [10:42:32 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
66
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/commit-analyzer" does not provide step "generateNotes"
67
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
68
+ [10:42:32 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
69
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
70
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Found 1 commits for package @pocket-tools/tracing since last release
71
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
72
+ [10:42:32 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
73
+ [10:42:32 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "[Function: semantic-release-monorepo]"
74
+ [10:42:32 PM] [semantic-release] [[Function: semantic-release-monorepo]] › ℹ Plugin "@semantic-release/npm" does not provide step "generateNotes"
package/dist/index.js CHANGED
@@ -59,6 +59,7 @@ var import_semantic_conventions = require("@opentelemetry/semantic-conventions")
59
59
  var import_ExpressLayerType = require("@opentelemetry/instrumentation-express/build/src/enums/ExpressLayerType");
60
60
  var import_opentelemetry = require("@sentry/opentelemetry");
61
61
  var import_context_async_hooks = require("@opentelemetry/context-async-hooks");
62
+ var import_resources2 = require("@opentelemetry/resources");
62
63
  var Sentry = __toESM(require("@sentry/node"));
63
64
  var AdditionalInstrumentation = /* @__PURE__ */ ((AdditionalInstrumentation2) => {
64
65
  AdditionalInstrumentation2["KNEX"] = "KNEX";
@@ -84,6 +85,19 @@ var tracingDefaults = {
84
85
  var SentryContextManager = (0, import_opentelemetry.wrapContextManagerClass)(
85
86
  import_context_async_hooks.AsyncLocalStorageContextManager
86
87
  );
88
+ function awaitAttributes(detector) {
89
+ return {
90
+ /**
91
+ * A function that returns a promise that resolves with the attributes
92
+ */
93
+ async detect(config) {
94
+ var _a;
95
+ const resource = detector.detect(config);
96
+ await ((_a = resource.waitForAsyncAttributes) == null ? void 0 : _a.call(resource));
97
+ return resource;
98
+ }
99
+ };
100
+ }
87
101
  async function nodeSDKBuilder(config) {
88
102
  config = { ...tracingDefaults, ...config };
89
103
  import_api.diag.setLogger(config.logger, import_api.DiagLogLevel.WARN);
@@ -142,9 +156,17 @@ async function nodeSDKBuilder(config) {
142
156
  resource: _resource,
143
157
  spanProcessors: _spanProcessors,
144
158
  traceExporter: _traceExporter,
145
- idGenerator: _idGenerator
159
+ idGenerator: _idGenerator,
160
+ // TODO: Remove after issue is fixed
161
+ // https://github.com/open-telemetry/opentelemetry-js/issues/4638
162
+ resourceDetectors: [
163
+ awaitAttributes(import_resources2.envDetectorSync),
164
+ awaitAttributes(import_resources2.hostDetectorSync),
165
+ awaitAttributes(import_resources2.processDetectorSync)
166
+ ]
146
167
  });
147
168
  sdk.start();
169
+ import_api.diag.info("Tracer successfully started");
148
170
  import_process.default.on("SIGTERM", () => {
149
171
  sdk.shutdown().then(() => import_api.diag.info("Tracing and Metrics terminated")).catch(
150
172
  (error) => import_api.diag.error("Error terminating tracing and metrics", error)
package/dist/index.mjs CHANGED
@@ -38,6 +38,11 @@ import {
38
38
  wrapContextManagerClass
39
39
  } from "@sentry/opentelemetry";
40
40
  import { AsyncLocalStorageContextManager } from "@opentelemetry/context-async-hooks";
41
+ import {
42
+ envDetectorSync,
43
+ hostDetectorSync,
44
+ processDetectorSync
45
+ } from "@opentelemetry/resources";
41
46
  import * as Sentry from "@sentry/node";
42
47
  var AdditionalInstrumentation = /* @__PURE__ */ ((AdditionalInstrumentation2) => {
43
48
  AdditionalInstrumentation2["KNEX"] = "KNEX";
@@ -63,6 +68,19 @@ var tracingDefaults = {
63
68
  var SentryContextManager = wrapContextManagerClass(
64
69
  AsyncLocalStorageContextManager
65
70
  );
71
+ function awaitAttributes(detector) {
72
+ return {
73
+ /**
74
+ * A function that returns a promise that resolves with the attributes
75
+ */
76
+ async detect(config) {
77
+ var _a;
78
+ const resource = detector.detect(config);
79
+ await ((_a = resource.waitForAsyncAttributes) == null ? void 0 : _a.call(resource));
80
+ return resource;
81
+ }
82
+ };
83
+ }
66
84
  async function nodeSDKBuilder(config) {
67
85
  config = { ...tracingDefaults, ...config };
68
86
  diag.setLogger(config.logger, DiagLogLevel.WARN);
@@ -121,9 +139,17 @@ async function nodeSDKBuilder(config) {
121
139
  resource: _resource,
122
140
  spanProcessors: _spanProcessors,
123
141
  traceExporter: _traceExporter,
124
- idGenerator: _idGenerator
142
+ idGenerator: _idGenerator,
143
+ // TODO: Remove after issue is fixed
144
+ // https://github.com/open-telemetry/opentelemetry-js/issues/4638
145
+ resourceDetectors: [
146
+ awaitAttributes(envDetectorSync),
147
+ awaitAttributes(hostDetectorSync),
148
+ awaitAttributes(processDetectorSync)
149
+ ]
125
150
  });
126
151
  sdk.start();
152
+ diag.info("Tracer successfully started");
127
153
  process.on("SIGTERM", () => {
128
154
  sdk.shutdown().then(() => diag.info("Tracing and Metrics terminated")).catch(
129
155
  (error) => diag.error("Error terminating tracing and metrics", error)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocket-tools/tracing",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "description": "Utilities for tracing",
5
5
  "keywords": [
6
6
  "tracing"