@instana/shared-metrics 3.20.2 → 3.21.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+ # [3.21.0](https://github.com/instana/nodejs/compare/v3.20.2...v3.21.0) (2024-10-17)
7
+
8
+ ### Features
9
+
10
+ - added v23 support ([#1385](https://github.com/instana/nodejs/issues/1385)) ([34b990f](https://github.com/instana/nodejs/commit/34b990f2ab2a88aa6f2b0730296b7ae75e613ab0))
11
+
6
12
  ## [3.20.2](https://github.com/instana/nodejs/compare/v3.20.1...v3.20.2) (2024-10-09)
7
13
 
8
14
  **Note:** Version bump only for package @instana/shared-metrics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instana/shared-metrics",
3
- "version": "3.20.2",
3
+ "version": "3.21.0",
4
4
  "description": "Internal metrics plug-in package for Node.js monitoring with Instana",
5
5
  "author": {
6
6
  "name": "Bastian Krol",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "license": "MIT",
61
61
  "dependencies": {
62
- "@instana/core": "3.20.2",
62
+ "@instana/core": "3.21.0",
63
63
  "detect-libc": "^2.0.2",
64
64
  "event-loop-lag": "^1.4.0",
65
65
  "fs-extra": "^11.2.0",
@@ -76,5 +76,5 @@
76
76
  "event-loop-stats": "1.4.1",
77
77
  "gcstats.js": "1.0.0"
78
78
  },
79
- "gitHead": "b61826870eddc0acbcb29300b809f479500cd7b0"
79
+ "gitHead": "88f34c35252f7f71028456f408e668d7ab624e96"
80
80
  }
@@ -9,6 +9,9 @@ exports.payloadPrefix = 'activeHandles';
9
9
 
10
10
  Object.defineProperty(exports, 'currentPayload', {
11
11
  get: function () {
12
+ // TODO: _getActiveHandles is deprecated. Replace with getActiveResourcesInfo.
13
+ // https://nodejs.org/api/deprecations.html#dep0161-process_getactiverequests-and-process_getactivehandles
14
+ // Added in v16. Replace in major release.
12
15
  // @ts-ignore
13
16
  return process._getActiveHandles().length;
14
17
  }