@instana/shared-metrics 5.0.0 → 5.0.2

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 +418 -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,431 @@
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.2](https://github.com/instana/nodejs/compare/v5.0.1...v5.0.2) (2025-12-16)
7
+
8
+ **Note:** Version bump only for package @instana/shared-metrics
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.0.1](https://github.com/instana/nodejs/compare/v5.0.0...v5.0.1) (2025-12-16)
15
+
16
+ **Note:** Version bump only for package @instana/shared-metrics
17
+
18
+
19
+
20
+
21
+
22
+ # [5.0.0](https://github.com/instana/nodejs/compare/v4.31.0...v5.0.0) (2025-12-16)
23
+
7
24
 
8
25
  ### Bug Fixes
9
26
 
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))
27
+ * 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))
28
+ * removed prebuilds for non-lts versions ([#2148](https://github.com/instana/nodejs/issues/2148)) ([2f32603](https://github.com/instana/nodejs/commit/2f32603e53fe546a3a9d07eba4f2dd9b02160c83))
29
+ * removed support for experimental loader flag ([#2153](https://github.com/instana/nodejs/issues/2153)) ([7e9a24a](https://github.com/instana/nodejs/commit/7e9a24a60b5afd0c73b3213df0f033d6554e388d))
30
+
12
31
 
13
32
  ### BREAKING CHANGES
14
33
 
15
- - - Dropped support for Node.js versions 14 and 16.
34
+ * Dropped support for Node.js versions below 18.19
35
+ * - Removed support for --experimental-loader
36
+ - Removed support for esm-loader.mjs
16
37
 
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
38
+ Migration Recommendations:
39
+
40
+ - Replace --experimental-loader with --import
41
+ - Use esm-register.mjs instead of esm-loader.mjs
42
+
43
+ e.g. --import /path/to/instana/node_modules/@instana/collector/esm-register.mjs
44
+
45
+
46
+
47
+
48
+
49
+ # [4.31.0](https://github.com/instana/nodejs/compare/v4.30.1...v4.31.0) (2025-12-08)
50
+
51
+ **Note:** Version bump only for package @instana/shared-metrics
52
+
53
+
54
+
55
+
56
+
57
+ ## [4.30.1](https://github.com/instana/nodejs/compare/v4.30.0...v4.30.1) (2025-11-18)
58
+
59
+ **Note:** Version bump only for package @instana/shared-metrics
60
+
61
+
62
+
63
+
64
+
65
+ # [4.30.0](https://github.com/instana/nodejs/compare/v4.29.0...v4.30.0) (2025-11-17)
66
+
67
+ **Note:** Version bump only for package @instana/shared-metrics
68
+
69
+
70
+
71
+
72
+
73
+ # [4.29.0](https://github.com/instana/nodejs/compare/v4.28.0...v4.29.0) (2025-11-07)
74
+
75
+ **Note:** Version bump only for package @instana/shared-metrics
76
+
77
+
78
+
79
+
80
+
81
+ # [4.28.0](https://github.com/instana/nodejs/compare/v4.27.1...v4.28.0) (2025-11-06)
82
+
83
+ **Note:** Version bump only for package @instana/shared-metrics
84
+
85
+
86
+
87
+
88
+
89
+ ## [4.27.1](https://github.com/instana/nodejs/compare/v4.27.0...v4.27.1) (2025-11-03)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * 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)
95
+
96
+
97
+
98
+
99
+
100
+ # [4.27.0](https://github.com/instana/nodejs/compare/v4.26.4...v4.27.0) (2025-10-23)
101
+
102
+
103
+ ### Bug Fixes
104
+
105
+ * **shared-metrics:** reduce memory consumption with many dependencies ([#2088](https://github.com/instana/nodejs/issues/2088)) ([7e0b029](https://github.com/instana/nodejs/commit/7e0b029331a6657c64b29e875a529d03952e7414))
106
+
107
+
108
+
109
+
110
+
111
+ ## [4.26.4](https://github.com/instana/nodejs/compare/v4.26.3...v4.26.4) (2025-10-21)
112
+
113
+ **Note:** Version bump only for package @instana/shared-metrics
114
+
115
+
116
+
117
+
118
+
119
+ ## [4.26.3](https://github.com/instana/nodejs/compare/v4.26.2...v4.26.3) (2025-10-21)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * **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))
125
+
126
+
127
+
128
+
129
+
130
+ ## [4.26.2](https://github.com/instana/nodejs/compare/v4.26.1...v4.26.2) (2025-10-15)
131
+
132
+ **Note:** Version bump only for package @instana/shared-metrics
133
+
134
+
135
+
136
+
137
+
138
+ ## [4.26.1](https://github.com/instana/nodejs/compare/v4.26.0...v4.26.1) (2025-10-13)
139
+
140
+
141
+ ### Bug Fixes
142
+
143
+ * 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))
144
+ * bumped tar from 7.4.3 to 7.5.1 ([a877f1e](https://github.com/instana/nodejs/commit/a877f1ecd3e617b423b937335542f6a51699f0c2))
145
+
146
+
147
+
148
+
149
+
150
+ # [4.26.0](https://github.com/instana/nodejs/compare/v4.25.0...v4.26.0) (2025-10-08)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * 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))
156
+ * 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))
157
+ * 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))
158
+
159
+
160
+
161
+
162
+
163
+ # [4.25.0](https://github.com/instana/nodejs/compare/v4.24.1...v4.25.0) (2025-09-23)
164
+
165
+ **Note:** Version bump only for package @instana/shared-metrics
166
+
167
+
168
+
169
+
170
+
171
+ ## [4.24.1](https://github.com/instana/nodejs/compare/v4.24.0...v4.24.1) (2025-09-18)
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * 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))
177
+
178
+
179
+
180
+
181
+
182
+ # [4.24.0](https://github.com/instana/nodejs/compare/v4.23.1...v4.24.0) (2025-09-11)
183
+
184
+ **Note:** Version bump only for package @instana/shared-metrics
185
+
186
+
187
+
188
+
189
+
190
+ ## [4.23.1](https://github.com/instana/nodejs/compare/v4.23.0...v4.23.1) (2025-09-01)
191
+
192
+ **Note:** Version bump only for package @instana/shared-metrics
193
+
194
+
195
+
196
+
197
+
198
+ # [4.23.0](https://github.com/instana/nodejs/compare/v4.22.0...v4.23.0) (2025-08-25)
199
+
200
+ **Note:** Version bump only for package @instana/shared-metrics
201
+
202
+
203
+
204
+
205
+
206
+ # [4.22.0](https://github.com/instana/nodejs/compare/v4.21.3...v4.22.0) (2025-08-13)
207
+
208
+
209
+ ### Bug Fixes
210
+
211
+ * 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))
212
+
213
+
214
+
215
+
216
+
217
+ ## [4.21.3](https://github.com/instana/nodejs/compare/v4.21.2...v4.21.3) (2025-08-07)
218
+
219
+ **Note:** Version bump only for package @instana/shared-metrics
220
+
221
+
222
+
223
+
224
+
225
+ ## [4.21.2](https://github.com/instana/nodejs/compare/v4.21.1...v4.21.2) (2025-08-05)
226
+
227
+ **Note:** Version bump only for package @instana/shared-metrics
228
+
229
+
230
+
231
+
232
+
233
+ ## [4.21.1](https://github.com/instana/nodejs/compare/v4.21.0...v4.21.1) (2025-08-05)
234
+
235
+ **Note:** Version bump only for package @instana/shared-metrics
236
+
237
+
238
+
239
+
240
+
241
+ # [4.21.0](https://github.com/instana/nodejs/compare/v4.20.0...v4.21.0) (2025-07-31)
242
+
243
+ **Note:** Version bump only for package @instana/shared-metrics
244
+
245
+
246
+
247
+
248
+
249
+ # [4.20.0](https://github.com/instana/nodejs/compare/v4.19.1...v4.20.0) (2025-07-30)
250
+
251
+
252
+ ### Features
253
+
254
+ * **shared-metrics:** added prebuilds for linux arm64 ([#1809](https://github.com/instana/nodejs/issues/1809)) ([784d0f3](https://github.com/instana/nodejs/commit/784d0f38c85e69b1f17715aeb5eda725555aa655))
255
+
256
+
257
+
258
+
259
+
260
+ ## [4.19.1](https://github.com/instana/nodejs/compare/v4.19.0...v4.19.1) (2025-07-25)
261
+
262
+ **Note:** Version bump only for package @instana/shared-metrics
263
+
264
+
265
+
266
+
267
+
268
+ # [4.19.0](https://github.com/instana/nodejs/compare/v4.18.1...v4.19.0) (2025-07-24)
269
+
270
+ **Note:** Version bump only for package @instana/shared-metrics
271
+
272
+
273
+
274
+
275
+
276
+ ## [4.18.1](https://github.com/instana/nodejs/compare/v4.18.0...v4.18.1) (2025-07-14)
277
+
278
+
279
+ ### Bug Fixes
280
+
281
+ * resolved MaxListenersExceededWarning in gcstats module ([#1845](https://github.com/instana/nodejs/issues/1845)) ([624ca13](https://github.com/instana/nodejs/commit/624ca13ed1ab794881f376d4ffa0bc7d02dc7ee4))
282
+
283
+
284
+
285
+
286
+
287
+ # [4.18.0](https://github.com/instana/nodejs/compare/v4.17.0...v4.18.0) (2025-07-10)
288
+
289
+ **Note:** Version bump only for package @instana/shared-metrics
290
+
291
+
292
+
293
+
294
+
295
+ # [4.17.0](https://github.com/instana/nodejs/compare/v4.16.0...v4.17.0) (2025-06-30)
296
+
297
+
298
+ ### Features
299
+
300
+ * added support for linux s390x ([#1773](https://github.com/instana/nodejs/issues/1773)) ([e1e203b](https://github.com/instana/nodejs/commit/e1e203bca12d5a2752899a4acaca33d80c92c13c))
301
+
302
+
303
+
304
+
305
+
306
+ # [4.16.0](https://github.com/instana/nodejs/compare/v4.15.3...v4.16.0) (2025-06-24)
307
+
308
+ **Note:** Version bump only for package @instana/shared-metrics
309
+
310
+
311
+
312
+
313
+
314
+ ## [4.15.3](https://github.com/instana/nodejs/compare/v4.15.2...v4.15.3) (2025-06-11)
315
+
316
+ **Note:** Version bump only for package @instana/shared-metrics
317
+
318
+ ## [4.15.2](https://github.com/instana/nodejs/compare/v4.15.1...v4.15.2) (2025-06-11)
319
+
320
+ **Note:** Version bump only for package @instana/shared-metrics
321
+
322
+ ## [4.15.1](https://github.com/instana/nodejs/compare/v4.15.0...v4.15.1) (2025-06-09)
323
+
324
+ **Note:** Version bump only for package @instana/shared-metrics
325
+
326
+ # [4.15.0](https://github.com/instana/nodejs/compare/v4.14.0...v4.15.0) (2025-05-27)
327
+
328
+ **Note:** Version bump only for package @instana/shared-metrics
329
+
330
+ # [4.14.0](https://github.com/instana/nodejs/compare/v4.13.0...v4.14.0) (2025-05-13)
331
+
332
+ **Note:** Version bump only for package @instana/shared-metrics
333
+
334
+ # [4.13.0](https://github.com/instana/nodejs/compare/v4.12.0...v4.13.0) (2025-05-08)
335
+
336
+ ### Features
337
+
338
+ - added support for node v24 ([#1694](https://github.com/instana/nodejs/issues/1694)) ([5071bac](https://github.com/instana/nodejs/commit/5071bac52152eed0e786cc6bfbd812627032bcb2))
339
+
340
+ # [4.12.0](https://github.com/instana/nodejs/compare/v4.11.1...v4.12.0) (2025-05-06)
341
+
342
+ **Note:** Version bump only for package @instana/shared-metrics
343
+
344
+ ## [4.11.1](https://github.com/instana/nodejs/compare/v4.11.0...v4.11.1) (2025-04-24)
345
+
346
+ **Note:** Version bump only for package @instana/shared-metrics
347
+
348
+ # [4.11.0](https://github.com/instana/nodejs/compare/v4.10.0...v4.11.0) (2025-04-22)
349
+
350
+ **Note:** Version bump only for package @instana/shared-metrics
351
+
352
+ # [4.10.0](https://github.com/instana/nodejs/compare/v4.9.0...v4.10.0) (2025-04-01)
353
+
354
+ **Note:** Version bump only for package @instana/shared-metrics
355
+
356
+ # [4.9.0](https://github.com/instana/nodejs/compare/v4.8.0...v4.9.0) (2025-03-20)
357
+
358
+ ### Bug Fixes
359
+
360
+ - improved log for precompiled binary loading failure ([#1642](https://github.com/instana/nodejs/issues/1642)) ([f0c38d5](https://github.com/instana/nodejs/commit/f0c38d539be65c3e90fb2ecd05d5f46d982a5337))
361
+
362
+ # [4.8.0](https://github.com/instana/nodejs/compare/v4.7.0...v4.8.0) (2025-03-19)
363
+
364
+ ### Bug Fixes
365
+
366
+ - resolved TypeError gcStats.on is not a function ([#1633](https://github.com/instana/nodejs/issues/1633)) ([2bfcd92](https://github.com/instana/nodejs/commit/2bfcd92f4bc57b7fb163283d6f2792c06816389b))
367
+
368
+ # [4.7.0](https://github.com/instana/nodejs/compare/v4.6.3...v4.7.0) (2025-03-11)
369
+
370
+ **Note:** Version bump only for package @instana/shared-metrics
371
+
372
+ ## [4.6.3](https://github.com/instana/nodejs/compare/v4.6.2...v4.6.3) (2025-03-05)
373
+
374
+ ### Bug Fixes
375
+
376
+ - reduced noise for dependency calculation debug logs ([#1589](https://github.com/instana/nodejs/issues/1589)) ([1aeaa94](https://github.com/instana/nodejs/commit/1aeaa94ad1431b5f7807d0e3d93384b585c97d5d))
377
+
378
+ ## [4.6.2](https://github.com/instana/nodejs/compare/v4.6.1...v4.6.2) (2025-02-24)
379
+
380
+ ### Bug Fixes
381
+
382
+ - resolved TypeError "eventLoopStats.sense is not a function" ([#1575](https://github.com/instana/nodejs/issues/1575)) ([c7d8ea1](https://github.com/instana/nodejs/commit/c7d8ea136aee2b64941a22cd98782d778a0d954b))
383
+
384
+ ## [4.6.1](https://github.com/instana/nodejs/compare/v4.6.0...v4.6.1) (2025-01-29)
385
+
386
+ **Note:** Version bump only for package @instana/shared-metrics
387
+
388
+ # [4.6.0](https://github.com/instana/nodejs/compare/v4.5.3...v4.6.0) (2025-01-18)
389
+
390
+ **Note:** Version bump only for package @instana/shared-metrics
391
+
392
+ ## [4.5.3](https://github.com/instana/nodejs/compare/v4.5.2...v4.5.3) (2025-01-14)
393
+
394
+ ### Bug Fixes
395
+
396
+ - resolved more logging objects structure ([#1510](https://github.com/instana/nodejs/issues/1510)) ([bd4c9bb](https://github.com/instana/nodejs/commit/bd4c9bbda2c82aee7f6c59fcca03ac5588566839))
397
+
398
+ ## [4.5.2](https://github.com/instana/nodejs/compare/v4.5.1...v4.5.2) (2025-01-13)
399
+
400
+ ### Bug Fixes
401
+
402
+ - resolved logging objects being undefined or missing ([#1509](https://github.com/instana/nodejs/issues/1509)) ([7715fed](https://github.com/instana/nodejs/commit/7715fed5843716a6e49d79f221efcec33a9a1c9d))
403
+
404
+ ## [4.5.1](https://github.com/instana/nodejs/compare/v4.5.0...v4.5.1) (2025-01-13)
405
+
406
+ **Note:** Version bump only for package @instana/shared-metrics
407
+
408
+ # [4.5.0](https://github.com/instana/nodejs/compare/v4.4.0...v4.5.0) (2024-12-16)
409
+
410
+ **Note:** Version bump only for package @instana/shared-metrics
411
+
412
+ # [4.4.0](https://github.com/instana/nodejs/compare/v4.3.0...v4.4.0) (2024-12-12)
413
+
414
+ **Note:** Version bump only for package @instana/shared-metrics
415
+
416
+ # [4.3.0](https://github.com/instana/nodejs/compare/v4.2.0...v4.3.0) (2024-12-10)
417
+
418
+ **Note:** Version bump only for package @instana/shared-metrics
419
+
420
+ # [4.2.0](https://github.com/instana/nodejs/compare/v4.1.0...v4.2.0) (2024-11-22)
421
+
422
+ **Note:** Version bump only for package @instana/shared-metrics
423
+
424
+ # [4.1.0](https://github.com/instana/nodejs/compare/v4.0.1...v4.1.0) (2024-11-19)
425
+
426
+ **Note:** Version bump only for package @instana/shared-metrics
427
+
428
+ ## [4.0.1](https://github.com/instana/nodejs/compare/v4.0.0...v4.0.1) (2024-10-28)
429
+
430
+ **Note:** Version bump only for package @instana/shared-metrics
19
431
 
20
432
  # [4.0.0](https://github.com/instana/nodejs/compare/v3.21.0...v4.0.0) (2024-10-23)
21
433
 
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.2",
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.2",
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": "0661457ab5a45b90b2b1387b5328b590b4499b9c"
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
  }