@instana/shared-metrics 1.138.0 → 2.0.0-rc.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 +21 -0
- package/package.json +4 -5
- package/src/util/nativeModuleRetry.js +1 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
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
|
+
# [2.0.0-rc.0](https://github.com/instana/nodejs/compare/v1.138.0...v2.0.0-rc.0) (2022-03-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* remove npm package instana-nodejs-sensor ([bebfc2d](https://github.com/instana/nodejs/commit/bebfc2da9989ade98034e5a1ae87e0a0bd43a5d8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* Starting with version 2.0.0, consumers of the package who
|
|
17
|
+
still use the deprecated package name instana-nodejs-sensor will need to follow
|
|
18
|
+
https://www.ibm.com/docs/en/obi/current?topic=nodejs-collector-installation#change-of-package-name
|
|
19
|
+
to receive updates in the future.
|
|
20
|
+
|
|
21
|
+
refs 80206
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
6
27
|
# [1.138.0](https://github.com/instana/nodejs/compare/v1.137.5...v1.138.0) (2022-02-08)
|
|
7
28
|
|
|
8
29
|
**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
|
+
"version": "2.0.0-rc.0",
|
|
4
4
|
"description": "Internal metrics plug-in package for Node.js monitoring with Instana",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bastian Krol",
|
|
@@ -38,8 +38,7 @@
|
|
|
38
38
|
"memory",
|
|
39
39
|
"metrics",
|
|
40
40
|
"monitoring",
|
|
41
|
-
"performance"
|
|
42
|
-
"sensor"
|
|
41
|
+
"performance"
|
|
43
42
|
],
|
|
44
43
|
"contributors": [
|
|
45
44
|
{
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
},
|
|
69
68
|
"license": "MIT",
|
|
70
69
|
"dependencies": {
|
|
71
|
-
"@instana/core": "
|
|
70
|
+
"@instana/core": "2.0.0-rc.0",
|
|
72
71
|
"detect-libc": "^1.0.3",
|
|
73
72
|
"event-loop-lag": "^1.4.0",
|
|
74
73
|
"recursive-copy": "^2.0.13",
|
|
@@ -83,5 +82,5 @@
|
|
|
83
82
|
"event-loop-stats": "1.4.1",
|
|
84
83
|
"gcstats.js": "1.0.0"
|
|
85
84
|
},
|
|
86
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "040c7b2ab701f2a16ba25b12f684ff9ecc8023eb"
|
|
87
86
|
}
|
|
@@ -11,7 +11,7 @@ const EventEmitter = require('events');
|
|
|
11
11
|
const copy = require('recursive-copy');
|
|
12
12
|
const fs = require('fs');
|
|
13
13
|
const os = require('os');
|
|
14
|
-
const
|
|
14
|
+
const tar = require('tar');
|
|
15
15
|
const path = require('path');
|
|
16
16
|
const detectLibc = require('detect-libc');
|
|
17
17
|
|
|
@@ -171,20 +171,6 @@ function copyPrecompiled(opts, loaderEmitter, callback) {
|
|
|
171
171
|
|
|
172
172
|
logger.info(`Found a precompiled version for ${opts.nativeModuleName} ${label}, unpacking.`);
|
|
173
173
|
|
|
174
|
-
/**
|
|
175
|
-
* tar@6 has dropped support for Node < 10
|
|
176
|
-
* It might work to require tar@6 or to execute commands with tar@6 and Node < 10,
|
|
177
|
-
* but we don't want to risk that a customers application fails - especially if tar@6 adds
|
|
178
|
-
* breaking changes. We decided to disallow this feature.
|
|
179
|
-
*/
|
|
180
|
-
if (semver.lt(process.version, '10.0.0')) {
|
|
181
|
-
logger.info(`Skipped copying precompiled version for ${opts.nativeModuleName} ${label} with Node < 10.`);
|
|
182
|
-
callback(false);
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
const tar = require('tar');
|
|
187
|
-
|
|
188
174
|
tar
|
|
189
175
|
.x({
|
|
190
176
|
cwd: os.tmpdir(),
|