@instana/shared-metrics 1.140.1 → 2.0.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 +19 -0
- package/package.json +4 -5
- package/src/util/nativeModuleRetry.js +1 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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](https://github.com/instana/nodejs/compare/v1.140.1...v2.0.0) (2022-04-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove npm package instana-nodejs-sensor ([5fb9f18](https://github.com/instana/nodejs/commit/5fb9f1807998fb3335652d135eb167dc13f9221d))
|
|
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
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [1.140.1](https://github.com/instana/nodejs/compare/v1.140.0...v1.140.1) (2022-04-04)
|
|
7
26
|
|
|
8
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instana/shared-metrics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.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",
|
|
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": "f1dd7b5bcc7de73e00504bf20711c978b60e0f26"
|
|
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
|
|
|
@@ -172,20 +172,6 @@ function copyPrecompiled(opts, loaderEmitter, callback) {
|
|
|
172
172
|
|
|
173
173
|
logger.info(`Found a precompiled version for ${opts.nativeModuleName} ${label}, unpacking.`);
|
|
174
174
|
|
|
175
|
-
/**
|
|
176
|
-
* tar@6 has dropped support for Node < 10
|
|
177
|
-
* It might work to require tar@6 or to execute commands with tar@6 and Node < 10,
|
|
178
|
-
* but we don't want to risk that a customers application fails - especially if tar@6 adds
|
|
179
|
-
* breaking changes. We decided to disallow this feature.
|
|
180
|
-
*/
|
|
181
|
-
if (semver.lt(process.version, '10.0.0')) {
|
|
182
|
-
logger.info(`Skipped copying precompiled version for ${opts.nativeModuleName} ${label} with Node < 10.`);
|
|
183
|
-
callback(false);
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
const tar = require('tar');
|
|
188
|
-
|
|
189
175
|
tar
|
|
190
176
|
.x({
|
|
191
177
|
cwd: os.tmpdir(),
|