@instana/shared-metrics 1.137.2 → 1.137.3
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 +8 -0
- package/package.json +4 -9
- package/src/dependencies.js +1 -0
- package/src/healthchecks.js +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [1.137.3](https://github.com/instana/nodejs/compare/v1.137.2...v1.137.3) (2021-12-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instana/shared-metrics
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.137.2](https://github.com/instana/nodejs/compare/v1.137.1...v1.137.2) (2021-11-30)
|
|
7
15
|
|
|
8
16
|
**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": "1.137.
|
|
3
|
+
"version": "1.137.3",
|
|
4
4
|
"description": "Internal metrics plug-in package for Node.js monitoring with Instana",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bastian Krol",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@instana/core": "1.137.
|
|
70
|
+
"@instana/core": "1.137.3",
|
|
71
71
|
"detect-libc": "^1.0.3",
|
|
72
72
|
"event-loop-lag": "^1.4.0",
|
|
73
73
|
"recursive-copy": "^2.0.13",
|
|
@@ -76,16 +76,11 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/tar": "^4.0.5",
|
|
79
|
-
"
|
|
80
|
-
"eslint-config-airbnb-base": "^14.2.1",
|
|
81
|
-
"eslint-plugin-import": "^2.23.4",
|
|
82
|
-
"eslint-plugin-mocha": "^8.1.0",
|
|
83
|
-
"mocha": "^7.2.0",
|
|
84
|
-
"prettier": "^2.3.2"
|
|
79
|
+
"no-code2": "2.0.0"
|
|
85
80
|
},
|
|
86
81
|
"optionalDependencies": {
|
|
87
82
|
"event-loop-stats": "1.3.0",
|
|
88
83
|
"gcstats.js": "1.0.0"
|
|
89
84
|
},
|
|
90
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "c95b2f696a354c76ee8ab500e7b81cb91f8450e1"
|
|
91
86
|
}
|
package/src/dependencies.js
CHANGED
|
@@ -239,6 +239,7 @@ function limitAndSet(distances = {}) {
|
|
|
239
239
|
for (let i = 0; i < keys.length - exports.MAX_DEPENDENCIES; i++) {
|
|
240
240
|
delete preliminaryPayload[keys[i]];
|
|
241
241
|
}
|
|
242
|
+
|
|
242
243
|
// @ts-ignore: Cannot redeclare exported variable 'currentPayload'
|
|
243
244
|
exports.currentPayload = preliminaryPayload;
|
|
244
245
|
}
|
package/src/healthchecks.js
CHANGED
|
@@ -30,11 +30,12 @@ exports.payloadPrefix = 'healthchecks';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
exports.currentPayload = {};
|
|
32
32
|
|
|
33
|
-
requireHook.onModuleLoad(
|
|
34
|
-
|
|
35
|
-
) {
|
|
36
|
-
|
|
37
|
-
}
|
|
33
|
+
requireHook.onModuleLoad(
|
|
34
|
+
'admin-plugin-healthcheck',
|
|
35
|
+
function onAdminPluginHealthcheckLoaded(/** @type {*} */ _adminPluginHealthcheck) {
|
|
36
|
+
adminPluginHealthcheck = _adminPluginHealthcheck;
|
|
37
|
+
}
|
|
38
|
+
);
|
|
38
39
|
|
|
39
40
|
/**
|
|
40
41
|
* @param {import('@instana/core/src/util/normalizeConfig').InstanaConfig} config
|