@instana/shared-metrics 5.0.0 → 5.0.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +410 -6
  2. package/addons/linux/arm64/glibc/108/event-loop-stats.tar.gz +0 -0
  3. package/addons/linux/arm64/glibc/108/gcstats.js.tar.gz +0 -0
  4. package/addons/linux/arm64/glibc/115/event-loop-stats.tar.gz +0 -0
  5. package/addons/linux/arm64/glibc/115/gcstats.js.tar.gz +0 -0
  6. package/addons/linux/arm64/glibc/127/event-loop-stats.tar.gz +0 -0
  7. package/addons/linux/arm64/glibc/127/gcstats.js.tar.gz +0 -0
  8. package/addons/linux/arm64/glibc/137/event-loop-stats.tar.gz +0 -0
  9. package/addons/linux/arm64/glibc/137/gcstats.js.tar.gz +0 -0
  10. package/addons/linux/arm64/musl/108/event-loop-stats.tar.gz +0 -0
  11. package/addons/linux/arm64/musl/108/gcstats.js.tar.gz +0 -0
  12. package/addons/linux/arm64/musl/115/event-loop-stats.tar.gz +0 -0
  13. package/addons/linux/arm64/musl/115/gcstats.js.tar.gz +0 -0
  14. package/addons/linux/arm64/musl/127/event-loop-stats.tar.gz +0 -0
  15. package/addons/linux/arm64/musl/127/gcstats.js.tar.gz +0 -0
  16. package/addons/linux/arm64/musl/137/event-loop-stats.tar.gz +0 -0
  17. package/addons/linux/arm64/musl/137/gcstats.js.tar.gz +0 -0
  18. package/addons/linux/s390x/glibc/108/event-loop-stats.tar.gz +0 -0
  19. package/addons/linux/s390x/glibc/108/gcstats.js.tar.gz +0 -0
  20. package/addons/linux/s390x/glibc/115/event-loop-stats.tar.gz +0 -0
  21. package/addons/linux/s390x/glibc/115/gcstats.js.tar.gz +0 -0
  22. package/addons/linux/s390x/glibc/127/event-loop-stats.tar.gz +0 -0
  23. package/addons/linux/s390x/glibc/127/gcstats.js.tar.gz +0 -0
  24. package/addons/linux/s390x/glibc/137/event-loop-stats.tar.gz +0 -0
  25. package/addons/linux/s390x/glibc/137/gcstats.js.tar.gz +0 -0
  26. package/addons/linux/x64/glibc/115/event-loop-stats.tar.gz +0 -0
  27. package/addons/linux/x64/glibc/115/gcstats.js.tar.gz +0 -0
  28. package/addons/linux/x64/glibc/137/event-loop-stats.tar.gz +0 -0
  29. package/addons/linux/x64/glibc/137/gcstats.js.tar.gz +0 -0
  30. package/addons/linux/x64/musl/137/event-loop-stats.tar.gz +0 -0
  31. package/addons/linux/x64/musl/137/gcstats.js.tar.gz +0 -0
  32. package/package.json +15 -14
  33. package/src/activeHandles.js +2 -1
  34. package/src/activeRequests.js +4 -0
  35. package/src/dependencies.js +40 -23
  36. package/src/description.js +10 -14
  37. package/src/directDependencies.js +9 -9
  38. package/src/gc.js +60 -46
  39. package/src/healthchecks.js +7 -6
  40. package/src/index.js +51 -22
  41. package/src/keywords.js +11 -13
  42. package/src/libuv.js +24 -20
  43. package/src/name.js +9 -15
  44. package/src/util/DependencyDistanceCalculator.js +17 -22
  45. package/src/util/index.js +12 -8
  46. package/src/util/nativeModuleRetry.js +36 -17
  47. package/src/version.js +11 -13
  48. package/addons/linux/x64/glibc/120/event-loop-stats.tar.gz +0 -0
  49. package/addons/linux/x64/glibc/120/gcstats.js.tar.gz +0 -0
  50. package/addons/linux/x64/glibc/131/event-loop-stats.tar.gz +0 -0
  51. package/addons/linux/x64/glibc/131/gcstats.js.tar.gz +0 -0
  52. package/addons/linux/x64/musl/120/event-loop-stats.tar.gz +0 -0
  53. package/addons/linux/x64/musl/120/gcstats.js.tar.gz +0 -0
  54. package/addons/linux/x64/musl/131/event-loop-stats.tar.gz +0 -0
  55. package/addons/linux/x64/musl/131/gcstats.js.tar.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -3,19 +3,423 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [5.0.0](https://github.com/instana/nodejs/compare/v3.21.0...v5.0.0) (2024-10-23)
6
+ ## [5.0.1](https://github.com/instana/nodejs/compare/v5.0.0...v5.0.1) (2025-12-16)
7
+
8
+ **Note:** Version bump only for package @instana/shared-metrics
9
+
10
+
11
+
12
+
13
+
14
+ # [5.0.0](https://github.com/instana/nodejs/compare/v4.31.0...v5.0.0) (2025-12-16)
15
+
7
16
 
8
17
  ### Bug Fixes
9
18
 
10
- - dropped support for node v14 and v16 ([#1348](https://github.com/instana/nodejs/issues/1348)) ([aaa9ad4](https://github.com/instana/nodejs/commit/aaa9ad41ebf82b11eedcf913afc31d3addd53868))
11
- - **shared-metrics:** replaced fs-extra with fs promises ([#1362](https://github.com/instana/nodejs/issues/1362)) ([35ec19c](https://github.com/instana/nodejs/commit/35ec19cff46cc0566646583e02eb4fec7749fa1e))
19
+ * enforced Node.js 18.19 as the minimum supported version ([#2151](https://github.com/instana/nodejs/issues/2151)) ([5d688e2](https://github.com/instana/nodejs/commit/5d688e22ff03a6e4721a0363011002801a1ee045))
20
+ * removed prebuilds for non-lts versions ([#2148](https://github.com/instana/nodejs/issues/2148)) ([2f32603](https://github.com/instana/nodejs/commit/2f32603e53fe546a3a9d07eba4f2dd9b02160c83))
21
+ * removed support for experimental loader flag ([#2153](https://github.com/instana/nodejs/issues/2153)) ([7e9a24a](https://github.com/instana/nodejs/commit/7e9a24a60b5afd0c73b3213df0f033d6554e388d))
22
+
12
23
 
13
24
  ### BREAKING CHANGES
14
25
 
15
- - - Dropped support for Node.js versions 14 and 16.
26
+ * Dropped support for Node.js versions below 18.19
27
+ * - Removed support for --experimental-loader
28
+ - Removed support for esm-loader.mjs
16
29
 
17
- * Reason: These versions have reached their end of life.
18
- * More info: https://github.com/nodejs/Release?tab=readme-ov-file#end-of-life-releases
30
+ Migration Recommendations:
31
+
32
+ - Replace --experimental-loader with --import
33
+ - Use esm-register.mjs instead of esm-loader.mjs
34
+
35
+ e.g. --import /path/to/instana/node_modules/@instana/collector/esm-register.mjs
36
+
37
+
38
+
39
+
40
+
41
+ # [4.31.0](https://github.com/instana/nodejs/compare/v4.30.1...v4.31.0) (2025-12-08)
42
+
43
+ **Note:** Version bump only for package @instana/shared-metrics
44
+
45
+
46
+
47
+
48
+
49
+ ## [4.30.1](https://github.com/instana/nodejs/compare/v4.30.0...v4.30.1) (2025-11-18)
50
+
51
+ **Note:** Version bump only for package @instana/shared-metrics
52
+
53
+
54
+
55
+
56
+
57
+ # [4.30.0](https://github.com/instana/nodejs/compare/v4.29.0...v4.30.0) (2025-11-17)
58
+
59
+ **Note:** Version bump only for package @instana/shared-metrics
60
+
61
+
62
+
63
+
64
+
65
+ # [4.29.0](https://github.com/instana/nodejs/compare/v4.28.0...v4.29.0) (2025-11-07)
66
+
67
+ **Note:** Version bump only for package @instana/shared-metrics
68
+
69
+
70
+
71
+
72
+
73
+ # [4.28.0](https://github.com/instana/nodejs/compare/v4.27.1...v4.28.0) (2025-11-06)
74
+
75
+ **Note:** Version bump only for package @instana/shared-metrics
76
+
77
+
78
+
79
+
80
+
81
+ ## [4.27.1](https://github.com/instana/nodejs/compare/v4.27.0...v4.27.1) (2025-11-03)
82
+
83
+
84
+ ### Bug Fixes
85
+
86
+ * bumped tar from 7.5.1 to 7.5.2 ([#2110](https://github.com/instana/nodejs/issues/2110)) ([acfa855](https://github.com/instana/nodejs/commit/acfa855a599c7d4147f0caff37a3df1567e6d638)), closes [isaacs/node-tar#445](https://github.com/isaacs/node-tar/issues/445)
87
+
88
+
89
+
90
+
91
+
92
+ # [4.27.0](https://github.com/instana/nodejs/compare/v4.26.4...v4.27.0) (2025-10-23)
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * **shared-metrics:** reduce memory consumption with many dependencies ([#2088](https://github.com/instana/nodejs/issues/2088)) ([7e0b029](https://github.com/instana/nodejs/commit/7e0b029331a6657c64b29e875a529d03952e7414))
98
+
99
+
100
+
101
+
102
+
103
+ ## [4.26.4](https://github.com/instana/nodejs/compare/v4.26.3...v4.26.4) (2025-10-21)
104
+
105
+ **Note:** Version bump only for package @instana/shared-metrics
106
+
107
+
108
+
109
+
110
+
111
+ ## [4.26.3](https://github.com/instana/nodejs/compare/v4.26.2...v4.26.3) (2025-10-21)
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * **shared-metrics:** re-generated prebuilds for linux x64 glibc 115 ([#2083](https://github.com/instana/nodejs/issues/2083)) ([a247c1c](https://github.com/instana/nodejs/commit/a247c1ce83cf4b01789b3ddd786d4d526b3d84bc))
117
+
118
+
119
+
120
+
121
+
122
+ ## [4.26.2](https://github.com/instana/nodejs/compare/v4.26.1...v4.26.2) (2025-10-15)
123
+
124
+ **Note:** Version bump only for package @instana/shared-metrics
125
+
126
+
127
+
128
+
129
+
130
+ ## [4.26.1](https://github.com/instana/nodejs/compare/v4.26.0...v4.26.1) (2025-10-13)
131
+
132
+
133
+ ### Bug Fixes
134
+
135
+ * bumped semver from 7.7.2 to 7.7.3 ([#2053](https://github.com/instana/nodejs/issues/2053)) ([d5f0841](https://github.com/instana/nodejs/commit/d5f08418b6d145117f5888ea25d83994986dbeff))
136
+ * bumped tar from 7.4.3 to 7.5.1 ([a877f1e](https://github.com/instana/nodejs/commit/a877f1ecd3e617b423b937335542f6a51699f0c2))
137
+
138
+
139
+
140
+
141
+
142
+ # [4.26.0](https://github.com/instana/nodejs/compare/v4.25.0...v4.26.0) (2025-10-08)
143
+
144
+
145
+ ### Bug Fixes
146
+
147
+ * bumped detect-libc from 2.0.2 to 2.1.0 ([#2025](https://github.com/instana/nodejs/issues/2025)) ([4e544fb](https://github.com/instana/nodejs/commit/4e544fb2cde75c7a338500c61614de7fb2c2beae))
148
+ * bumped detect-libc from 2.1.0 to 2.1.1 ([#2029](https://github.com/instana/nodejs/issues/2029)) ([0526aac](https://github.com/instana/nodejs/commit/0526aacd413866225a399e831eb1c8b32593b000))
149
+ * bumped detect-libc from 2.1.1 to 2.1.2 ([#2041](https://github.com/instana/nodejs/issues/2041)) ([fc1f33c](https://github.com/instana/nodejs/commit/fc1f33cfec91d37a0da72061e8a02f38e3245cb8))
150
+
151
+
152
+
153
+
154
+
155
+ # [4.25.0](https://github.com/instana/nodejs/compare/v4.24.1...v4.25.0) (2025-09-23)
156
+
157
+ **Note:** Version bump only for package @instana/shared-metrics
158
+
159
+
160
+
161
+
162
+
163
+ ## [4.24.1](https://github.com/instana/nodejs/compare/v4.24.0...v4.24.1) (2025-09-18)
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * bumped tar from 6.2.1 to 7.4.3 ([#1996](https://github.com/instana/nodejs/issues/1996)) ([af3ac42](https://github.com/instana/nodejs/commit/af3ac427df4d136fd542598c7bfdb32cbf9274f7))
169
+
170
+
171
+
172
+
173
+
174
+ # [4.24.0](https://github.com/instana/nodejs/compare/v4.23.1...v4.24.0) (2025-09-11)
175
+
176
+ **Note:** Version bump only for package @instana/shared-metrics
177
+
178
+
179
+
180
+
181
+
182
+ ## [4.23.1](https://github.com/instana/nodejs/compare/v4.23.0...v4.23.1) (2025-09-01)
183
+
184
+ **Note:** Version bump only for package @instana/shared-metrics
185
+
186
+
187
+
188
+
189
+
190
+ # [4.23.0](https://github.com/instana/nodejs/compare/v4.22.0...v4.23.0) (2025-08-25)
191
+
192
+ **Note:** Version bump only for package @instana/shared-metrics
193
+
194
+
195
+
196
+
197
+
198
+ # [4.22.0](https://github.com/instana/nodejs/compare/v4.21.3...v4.22.0) (2025-08-13)
199
+
200
+
201
+ ### Bug Fixes
202
+
203
+ * bumped semver from 7.5.4 to 7.7.2 ([#1935](https://github.com/instana/nodejs/issues/1935)) ([b9c64cb](https://github.com/instana/nodejs/commit/b9c64cb5e2fd899420a528c51403713bd78819ce))
204
+
205
+
206
+
207
+
208
+
209
+ ## [4.21.3](https://github.com/instana/nodejs/compare/v4.21.2...v4.21.3) (2025-08-07)
210
+
211
+ **Note:** Version bump only for package @instana/shared-metrics
212
+
213
+
214
+
215
+
216
+
217
+ ## [4.21.2](https://github.com/instana/nodejs/compare/v4.21.1...v4.21.2) (2025-08-05)
218
+
219
+ **Note:** Version bump only for package @instana/shared-metrics
220
+
221
+
222
+
223
+
224
+
225
+ ## [4.21.1](https://github.com/instana/nodejs/compare/v4.21.0...v4.21.1) (2025-08-05)
226
+
227
+ **Note:** Version bump only for package @instana/shared-metrics
228
+
229
+
230
+
231
+
232
+
233
+ # [4.21.0](https://github.com/instana/nodejs/compare/v4.20.0...v4.21.0) (2025-07-31)
234
+
235
+ **Note:** Version bump only for package @instana/shared-metrics
236
+
237
+
238
+
239
+
240
+
241
+ # [4.20.0](https://github.com/instana/nodejs/compare/v4.19.1...v4.20.0) (2025-07-30)
242
+
243
+
244
+ ### Features
245
+
246
+ * **shared-metrics:** added prebuilds for linux arm64 ([#1809](https://github.com/instana/nodejs/issues/1809)) ([784d0f3](https://github.com/instana/nodejs/commit/784d0f38c85e69b1f17715aeb5eda725555aa655))
247
+
248
+
249
+
250
+
251
+
252
+ ## [4.19.1](https://github.com/instana/nodejs/compare/v4.19.0...v4.19.1) (2025-07-25)
253
+
254
+ **Note:** Version bump only for package @instana/shared-metrics
255
+
256
+
257
+
258
+
259
+
260
+ # [4.19.0](https://github.com/instana/nodejs/compare/v4.18.1...v4.19.0) (2025-07-24)
261
+
262
+ **Note:** Version bump only for package @instana/shared-metrics
263
+
264
+
265
+
266
+
267
+
268
+ ## [4.18.1](https://github.com/instana/nodejs/compare/v4.18.0...v4.18.1) (2025-07-14)
269
+
270
+
271
+ ### Bug Fixes
272
+
273
+ * resolved MaxListenersExceededWarning in gcstats module ([#1845](https://github.com/instana/nodejs/issues/1845)) ([624ca13](https://github.com/instana/nodejs/commit/624ca13ed1ab794881f376d4ffa0bc7d02dc7ee4))
274
+
275
+
276
+
277
+
278
+
279
+ # [4.18.0](https://github.com/instana/nodejs/compare/v4.17.0...v4.18.0) (2025-07-10)
280
+
281
+ **Note:** Version bump only for package @instana/shared-metrics
282
+
283
+
284
+
285
+
286
+
287
+ # [4.17.0](https://github.com/instana/nodejs/compare/v4.16.0...v4.17.0) (2025-06-30)
288
+
289
+
290
+ ### Features
291
+
292
+ * added support for linux s390x ([#1773](https://github.com/instana/nodejs/issues/1773)) ([e1e203b](https://github.com/instana/nodejs/commit/e1e203bca12d5a2752899a4acaca33d80c92c13c))
293
+
294
+
295
+
296
+
297
+
298
+ # [4.16.0](https://github.com/instana/nodejs/compare/v4.15.3...v4.16.0) (2025-06-24)
299
+
300
+ **Note:** Version bump only for package @instana/shared-metrics
301
+
302
+
303
+
304
+
305
+
306
+ ## [4.15.3](https://github.com/instana/nodejs/compare/v4.15.2...v4.15.3) (2025-06-11)
307
+
308
+ **Note:** Version bump only for package @instana/shared-metrics
309
+
310
+ ## [4.15.2](https://github.com/instana/nodejs/compare/v4.15.1...v4.15.2) (2025-06-11)
311
+
312
+ **Note:** Version bump only for package @instana/shared-metrics
313
+
314
+ ## [4.15.1](https://github.com/instana/nodejs/compare/v4.15.0...v4.15.1) (2025-06-09)
315
+
316
+ **Note:** Version bump only for package @instana/shared-metrics
317
+
318
+ # [4.15.0](https://github.com/instana/nodejs/compare/v4.14.0...v4.15.0) (2025-05-27)
319
+
320
+ **Note:** Version bump only for package @instana/shared-metrics
321
+
322
+ # [4.14.0](https://github.com/instana/nodejs/compare/v4.13.0...v4.14.0) (2025-05-13)
323
+
324
+ **Note:** Version bump only for package @instana/shared-metrics
325
+
326
+ # [4.13.0](https://github.com/instana/nodejs/compare/v4.12.0...v4.13.0) (2025-05-08)
327
+
328
+ ### Features
329
+
330
+ - added support for node v24 ([#1694](https://github.com/instana/nodejs/issues/1694)) ([5071bac](https://github.com/instana/nodejs/commit/5071bac52152eed0e786cc6bfbd812627032bcb2))
331
+
332
+ # [4.12.0](https://github.com/instana/nodejs/compare/v4.11.1...v4.12.0) (2025-05-06)
333
+
334
+ **Note:** Version bump only for package @instana/shared-metrics
335
+
336
+ ## [4.11.1](https://github.com/instana/nodejs/compare/v4.11.0...v4.11.1) (2025-04-24)
337
+
338
+ **Note:** Version bump only for package @instana/shared-metrics
339
+
340
+ # [4.11.0](https://github.com/instana/nodejs/compare/v4.10.0...v4.11.0) (2025-04-22)
341
+
342
+ **Note:** Version bump only for package @instana/shared-metrics
343
+
344
+ # [4.10.0](https://github.com/instana/nodejs/compare/v4.9.0...v4.10.0) (2025-04-01)
345
+
346
+ **Note:** Version bump only for package @instana/shared-metrics
347
+
348
+ # [4.9.0](https://github.com/instana/nodejs/compare/v4.8.0...v4.9.0) (2025-03-20)
349
+
350
+ ### Bug Fixes
351
+
352
+ - improved log for precompiled binary loading failure ([#1642](https://github.com/instana/nodejs/issues/1642)) ([f0c38d5](https://github.com/instana/nodejs/commit/f0c38d539be65c3e90fb2ecd05d5f46d982a5337))
353
+
354
+ # [4.8.0](https://github.com/instana/nodejs/compare/v4.7.0...v4.8.0) (2025-03-19)
355
+
356
+ ### Bug Fixes
357
+
358
+ - resolved TypeError gcStats.on is not a function ([#1633](https://github.com/instana/nodejs/issues/1633)) ([2bfcd92](https://github.com/instana/nodejs/commit/2bfcd92f4bc57b7fb163283d6f2792c06816389b))
359
+
360
+ # [4.7.0](https://github.com/instana/nodejs/compare/v4.6.3...v4.7.0) (2025-03-11)
361
+
362
+ **Note:** Version bump only for package @instana/shared-metrics
363
+
364
+ ## [4.6.3](https://github.com/instana/nodejs/compare/v4.6.2...v4.6.3) (2025-03-05)
365
+
366
+ ### Bug Fixes
367
+
368
+ - reduced noise for dependency calculation debug logs ([#1589](https://github.com/instana/nodejs/issues/1589)) ([1aeaa94](https://github.com/instana/nodejs/commit/1aeaa94ad1431b5f7807d0e3d93384b585c97d5d))
369
+
370
+ ## [4.6.2](https://github.com/instana/nodejs/compare/v4.6.1...v4.6.2) (2025-02-24)
371
+
372
+ ### Bug Fixes
373
+
374
+ - resolved TypeError "eventLoopStats.sense is not a function" ([#1575](https://github.com/instana/nodejs/issues/1575)) ([c7d8ea1](https://github.com/instana/nodejs/commit/c7d8ea136aee2b64941a22cd98782d778a0d954b))
375
+
376
+ ## [4.6.1](https://github.com/instana/nodejs/compare/v4.6.0...v4.6.1) (2025-01-29)
377
+
378
+ **Note:** Version bump only for package @instana/shared-metrics
379
+
380
+ # [4.6.0](https://github.com/instana/nodejs/compare/v4.5.3...v4.6.0) (2025-01-18)
381
+
382
+ **Note:** Version bump only for package @instana/shared-metrics
383
+
384
+ ## [4.5.3](https://github.com/instana/nodejs/compare/v4.5.2...v4.5.3) (2025-01-14)
385
+
386
+ ### Bug Fixes
387
+
388
+ - resolved more logging objects structure ([#1510](https://github.com/instana/nodejs/issues/1510)) ([bd4c9bb](https://github.com/instana/nodejs/commit/bd4c9bbda2c82aee7f6c59fcca03ac5588566839))
389
+
390
+ ## [4.5.2](https://github.com/instana/nodejs/compare/v4.5.1...v4.5.2) (2025-01-13)
391
+
392
+ ### Bug Fixes
393
+
394
+ - resolved logging objects being undefined or missing ([#1509](https://github.com/instana/nodejs/issues/1509)) ([7715fed](https://github.com/instana/nodejs/commit/7715fed5843716a6e49d79f221efcec33a9a1c9d))
395
+
396
+ ## [4.5.1](https://github.com/instana/nodejs/compare/v4.5.0...v4.5.1) (2025-01-13)
397
+
398
+ **Note:** Version bump only for package @instana/shared-metrics
399
+
400
+ # [4.5.0](https://github.com/instana/nodejs/compare/v4.4.0...v4.5.0) (2024-12-16)
401
+
402
+ **Note:** Version bump only for package @instana/shared-metrics
403
+
404
+ # [4.4.0](https://github.com/instana/nodejs/compare/v4.3.0...v4.4.0) (2024-12-12)
405
+
406
+ **Note:** Version bump only for package @instana/shared-metrics
407
+
408
+ # [4.3.0](https://github.com/instana/nodejs/compare/v4.2.0...v4.3.0) (2024-12-10)
409
+
410
+ **Note:** Version bump only for package @instana/shared-metrics
411
+
412
+ # [4.2.0](https://github.com/instana/nodejs/compare/v4.1.0...v4.2.0) (2024-11-22)
413
+
414
+ **Note:** Version bump only for package @instana/shared-metrics
415
+
416
+ # [4.1.0](https://github.com/instana/nodejs/compare/v4.0.1...v4.1.0) (2024-11-19)
417
+
418
+ **Note:** Version bump only for package @instana/shared-metrics
419
+
420
+ ## [4.0.1](https://github.com/instana/nodejs/compare/v4.0.0...v4.0.1) (2024-10-28)
421
+
422
+ **Note:** Version bump only for package @instana/shared-metrics
19
423
 
20
424
  # [4.0.0](https://github.com/instana/nodejs/compare/v3.21.0...v4.0.0) (2024-10-23)
21
425
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instana/shared-metrics",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Internal metrics plug-in package for Node.js monitoring with Instana",
5
5
  "author": {
6
6
  "name": "Bastian Krol",
@@ -13,6 +13,9 @@
13
13
  "addons/linux",
14
14
  "CHANGELOG.md"
15
15
  ],
16
+ "engines": {
17
+ "node": ">=18.19.0"
18
+ },
16
19
  "publishConfig": {
17
20
  "access": "public"
18
21
  },
@@ -28,7 +31,7 @@
28
31
  "audit": "npm audit --omit=dev",
29
32
  "test": "mocha --config=test/.mocharc.js --require test/hooks.js --sort $(find test -iname '*test.js')",
30
33
  "test:ci": "mocha --config=test/.mocharc.js --reporter mocha-multi-reporters --reporter-options configFile=reporter-config.json --require test/hooks.js 'test/**/*test.js'",
31
- "test:debug": "WITH_STDOUT=true npm run test",
34
+ "test:debug": "WITH_STDOUT=true npm run test --",
32
35
  "lint": "eslint src test",
33
36
  "verify": "npm run lint && npm test",
34
37
  "prettier": "prettier --write 'src/**/*.js' 'test/**/*.js'"
@@ -41,10 +44,6 @@
41
44
  "performance"
42
45
  ],
43
46
  "contributors": [
44
- {
45
- "name": "Willian Carvalho",
46
- "email": "willian.carvalho@instana.com"
47
- },
48
47
  {
49
48
  "name": "Katharina Irrgang",
50
49
  "email": "katharina.irrgang@ibm.com"
@@ -52,6 +51,10 @@
52
51
  {
53
52
  "name": "Arya Mohanan",
54
53
  "email": "arya.mohanan@ibm.com"
54
+ },
55
+ {
56
+ "name": "Abhilash Sivan",
57
+ "email": "abhilash.sivan@ibm.com"
55
58
  }
56
59
  ],
57
60
  "bugs": {
@@ -59,20 +62,18 @@
59
62
  },
60
63
  "license": "MIT",
61
64
  "dependencies": {
62
- "@instana/core": "5.0.0",
63
- "detect-libc": "^2.0.2",
65
+ "@instana/core": "5.0.1",
66
+ "detect-libc": "^2.1.2",
64
67
  "event-loop-lag": "^1.4.0",
65
- "semver": "^7.5.4",
66
- "tar": "^6.2.1"
68
+ "semver": "^7.7.3",
69
+ "tar": "^7.5.2"
67
70
  },
68
71
  "devDependencies": {
69
- "@types/tar": "^6.1.6",
70
- "event-loop-stats": "1.4.1",
71
- "gcstats.js": "1.0.0"
72
+ "@types/tar": "^6.1.6"
72
73
  },
73
74
  "optionalDependencies": {
74
75
  "event-loop-stats": "1.4.1",
75
76
  "gcstats.js": "1.0.0"
76
77
  },
77
- "gitHead": "209e1ac4c64c5224c99bffcc82a172c3d22e4438"
78
+ "gitHead": "77fa60d1e6d88a852540f0e88ff3a8b2e36826ac"
78
79
  }
@@ -11,7 +11,8 @@ Object.defineProperty(exports, 'currentPayload', {
11
11
  get: function () {
12
12
  // TODO: _getActiveHandles is deprecated. Replace with getActiveResourcesInfo.
13
13
  // https://nodejs.org/api/deprecations.html#dep0161-process_getactiverequests-and-process_getactivehandles
14
- // Added in v16. Replace in major release.
14
+ // Added in v16.
15
+ // refs https://jsw.ibm.com/browse/INSTA-64277
15
16
  // @ts-ignore
16
17
  return process._getActiveHandles().length;
17
18
  }
@@ -9,6 +9,10 @@ exports.payloadPrefix = 'activeRequests';
9
9
 
10
10
  Object.defineProperty(exports, 'currentPayload', {
11
11
  get: function () {
12
+ // TODO: _getActiveRequests is deprecated. Replace with getActiveResourcesInfo.
13
+ // https://nodejs.org/api/deprecations.html#dep0161-process_getactiverequests-and-process_getactivehandles
14
+ // Added in v16.
15
+ // refs https://jsw.ibm.com/browse/INSTA-64277
12
16
  // @ts-ignore
13
17
  return process._getActiveRequests().length;
14
18
  }