@instana/shared-metrics 1.129.0 → 1.130.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instana/shared-metrics",
3
- "version": "1.129.0",
3
+ "version": "1.130.0",
4
4
  "description": "Internal metrics plug-in package for Node.js monitoring with Instana",
5
5
  "author": {
6
6
  "name": "Bastian Krol",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "license": "MIT",
57
57
  "dependencies": {
58
- "@instana/core": "1.129.0",
58
+ "@instana/core": "1.130.0",
59
59
  "detect-libc": "^1.0.3",
60
60
  "event-loop-lag": "^1.4.0",
61
61
  "recursive-copy": "^2.0.13",
@@ -74,5 +74,5 @@
74
74
  "gcstats.js": "1.0.0",
75
75
  "node-gyp": "^7.1.2"
76
76
  },
77
- "gitHead": "6a7eab071c83970e6e57914bf61f1a1fe1bb3e59"
77
+ "gitHead": "59ce34dd0a944f4ed3f59f3e19b03f42912839d8"
78
78
  }
package/src/index.js CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  'use strict';
7
7
 
8
+ /** @type {Array.<import('@instana/core/src/metrics').InstanaMetricsModule>} */
8
9
  const allMetrics = [
9
10
  require('./activeHandles'),
10
11
  require('./activeRequests'),
@@ -36,9 +37,9 @@ const setLogger = function (logger) {
36
37
 
37
38
  /**
38
39
  * @typedef {Object} InstanaSharedMetrics
39
- * @property {Array.<*>} allMetrics
40
- * @property {*} util
41
- * @property {*} setLogger
40
+ * @property {Array.<import('@instana/core/src/metrics').InstanaMetricsModule>} allMetrics
41
+ * @property {import('./util')} util
42
+ * @property {(logger: import('@instana/core/src/logger').GenericLogger) => void} setLogger
42
43
  */
43
44
 
44
45
  /** @type {InstanaSharedMetrics} */