@instana/shared-metrics 1.137.2 → 1.138.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 +32 -0
- package/addons/linux/.DS_Store +0 -0
- package/addons/linux/x64/.DS_Store +0 -0
- package/addons/linux/x64/glibc/.DS_Store +0 -0
- package/package.json +7 -11
- package/src/dependencies.js +1 -0
- package/src/gc.js +1 -1
- package/src/healthchecks.js +6 -5
- package/src/libuv.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.138.0](https://github.com/instana/nodejs/compare/v1.137.5...v1.138.0) (2022-02-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instana/shared-metrics
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.137.5](https://github.com/instana/nodejs/compare/v1.137.4...v1.137.5) (2022-01-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @instana/shared-metrics
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.137.4](https://github.com/instana/nodejs/compare/v1.137.3...v1.137.4) (2022-01-11)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @instana/shared-metrics
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [1.137.3](https://github.com/instana/nodejs/compare/v1.137.2...v1.137.3) (2021-12-16)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @instana/shared-metrics
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [1.137.2](https://github.com/instana/nodejs/compare/v1.137.1...v1.137.2) (2021-11-30)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @instana/shared-metrics
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instana/shared-metrics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.0",
|
|
4
4
|
"description": "Internal metrics plug-in package for Node.js monitoring with Instana",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bastian Krol",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"main": "src/index.js",
|
|
11
11
|
"files": [
|
|
12
12
|
"src",
|
|
13
|
-
"addons/linux"
|
|
13
|
+
"addons/linux",
|
|
14
|
+
"CHANGELOG.md"
|
|
14
15
|
],
|
|
15
16
|
"publishConfig": {
|
|
16
17
|
"access": "public"
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
},
|
|
68
69
|
"license": "MIT",
|
|
69
70
|
"dependencies": {
|
|
70
|
-
"@instana/core": "1.
|
|
71
|
+
"@instana/core": "1.138.0",
|
|
71
72
|
"detect-libc": "^1.0.3",
|
|
72
73
|
"event-loop-lag": "^1.4.0",
|
|
73
74
|
"recursive-copy": "^2.0.13",
|
|
@@ -76,16 +77,11 @@
|
|
|
76
77
|
},
|
|
77
78
|
"devDependencies": {
|
|
78
79
|
"@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"
|
|
80
|
+
"no-code2": "2.0.0"
|
|
85
81
|
},
|
|
86
82
|
"optionalDependencies": {
|
|
87
|
-
"event-loop-stats": "1.
|
|
83
|
+
"event-loop-stats": "1.4.1",
|
|
88
84
|
"gcstats.js": "1.0.0"
|
|
89
85
|
},
|
|
90
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "ec183a8bde1766a97bc2ee10af4326aeffb5ac87"
|
|
91
87
|
}
|
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/gc.js
CHANGED
|
@@ -55,7 +55,7 @@ const nativeModuleLoader = require('./util/nativeModuleRetry')({
|
|
|
55
55
|
'Could not load gcstats.js. You will not be able to see GC information in Instana for this application. This ' +
|
|
56
56
|
'typically occurs when native addons could not be installed during module installation (npm install). See the ' +
|
|
57
57
|
'instructions to learn more about the requirements of the collector: ' +
|
|
58
|
-
'https://www.
|
|
58
|
+
'https://www.ibm.com/docs/de/obi/current?topic=nodejs-collector-installation#native-addons'
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
/** @type {NodeJS.Timeout} */
|
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
|
package/src/libuv.js
CHANGED
|
@@ -22,7 +22,7 @@ const nativeModuleLoader = require('./util/nativeModuleRetry')({
|
|
|
22
22
|
'Instana for this application. This typically occurs when native addons could not be ' +
|
|
23
23
|
'installed during module installation (npm install). See the instructions to learn more ' +
|
|
24
24
|
'about the requirements of the collector: ' +
|
|
25
|
-
'https://www.
|
|
25
|
+
'https://www.ibm.com/docs/de/obi/current?topic=nodejs-collector-installation#native-addons'
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
nativeModuleLoader.once('loaded', eventLoopStats_ => {
|