@instana/shared-metrics 3.21.0 → 5.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 +28 -0
- package/package.json +3 -5
- package/src/util/nativeModuleRetry.js +2 -3
- package/addons/linux/x64/glibc/83/event-loop-stats.tar.gz +0 -0
- package/addons/linux/x64/glibc/83/gcstats.js.tar.gz +0 -0
- package/addons/linux/x64/glibc/93/event-loop-stats.tar.gz +0 -0
- package/addons/linux/x64/glibc/93/gcstats.js.tar.gz +0 -0
- package/addons/linux/x64/musl/83/event-loop-stats.tar.gz +0 -0
- package/addons/linux/x64/musl/83/gcstats.js.tar.gz +0 -0
- package/addons/linux/x64/musl/93/event-loop-stats.tar.gz +0 -0
- package/addons/linux/x64/musl/93/gcstats.js.tar.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
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
|
+
# [5.0.0](https://github.com/instana/nodejs/compare/v3.21.0...v5.0.0) (2024-10-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- dropped support for node v14 and v16 ([#1348](https://github.com/instana/nodejs/issues/1348)) ([aaa9ad4](https://github.com/instana/nodejs/commit/aaa9ad41ebf82b11eedcf913afc31d3addd53868))
|
|
11
|
+
- **shared-metrics:** replaced fs-extra with fs promises ([#1362](https://github.com/instana/nodejs/issues/1362)) ([35ec19c](https://github.com/instana/nodejs/commit/35ec19cff46cc0566646583e02eb4fec7749fa1e))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
- - Dropped support for Node.js versions 14 and 16.
|
|
16
|
+
|
|
17
|
+
* Reason: These versions have reached their end of life.
|
|
18
|
+
* More info: https://github.com/nodejs/Release?tab=readme-ov-file#end-of-life-releases
|
|
19
|
+
|
|
20
|
+
# [4.0.0](https://github.com/instana/nodejs/compare/v3.21.0...v4.0.0) (2024-10-23)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- dropped support for node v14 and v16 ([#1348](https://github.com/instana/nodejs/issues/1348)) ([aaa9ad4](https://github.com/instana/nodejs/commit/aaa9ad41ebf82b11eedcf913afc31d3addd53868))
|
|
25
|
+
- **shared-metrics:** replaced fs-extra with fs promises ([#1362](https://github.com/instana/nodejs/issues/1362)) ([35ec19c](https://github.com/instana/nodejs/commit/35ec19cff46cc0566646583e02eb4fec7749fa1e))
|
|
26
|
+
|
|
27
|
+
### BREAKING CHANGES
|
|
28
|
+
|
|
29
|
+
- - Dropped support for Node.js versions 14 and 16.
|
|
30
|
+
|
|
31
|
+
* Reason: These versions have reached their end of life.
|
|
32
|
+
* More info: https://github.com/nodejs/Release?tab=readme-ov-file#end-of-life-releases
|
|
33
|
+
|
|
6
34
|
# [3.21.0](https://github.com/instana/nodejs/compare/v3.20.2...v3.21.0) (2024-10-17)
|
|
7
35
|
|
|
8
36
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instana/shared-metrics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Internal metrics plug-in package for Node.js monitoring with Instana",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bastian Krol",
|
|
@@ -59,15 +59,13 @@
|
|
|
59
59
|
},
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@instana/core": "
|
|
62
|
+
"@instana/core": "5.0.0",
|
|
63
63
|
"detect-libc": "^2.0.2",
|
|
64
64
|
"event-loop-lag": "^1.4.0",
|
|
65
|
-
"fs-extra": "^11.2.0",
|
|
66
65
|
"semver": "^7.5.4",
|
|
67
66
|
"tar": "^6.2.1"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {
|
|
70
|
-
"@types/fs-extra": "^11.0.4",
|
|
71
69
|
"@types/tar": "^6.1.6",
|
|
72
70
|
"event-loop-stats": "1.4.1",
|
|
73
71
|
"gcstats.js": "1.0.0"
|
|
@@ -76,5 +74,5 @@
|
|
|
76
74
|
"event-loop-stats": "1.4.1",
|
|
77
75
|
"gcstats.js": "1.0.0"
|
|
78
76
|
},
|
|
79
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "209e1ac4c64c5224c99bffcc82a172c3d22e4438"
|
|
80
78
|
}
|
|
@@ -13,7 +13,6 @@ const os = require('os');
|
|
|
13
13
|
const tar = require('tar');
|
|
14
14
|
const path = require('path');
|
|
15
15
|
const detectLibc = require('detect-libc');
|
|
16
|
-
const fse = require('fs-extra');
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* @typedef {Object} InstanaSharedMetricsOptions
|
|
@@ -188,8 +187,8 @@ function copyPrecompiled(opts, loaderEmitter, callback) {
|
|
|
188
187
|
`Copying the precompiled build for ${opts.nativeModuleName} ${label} from ${sourceDir} to ${targetDir}.`
|
|
189
188
|
);
|
|
190
189
|
|
|
191
|
-
|
|
192
|
-
.
|
|
190
|
+
fs.promises
|
|
191
|
+
.cp(sourceDir, targetDir, { recursive: true })
|
|
193
192
|
.then(() => {
|
|
194
193
|
// We have unpacked and copied the correct precompiled native addon. The next attempt to require the
|
|
195
194
|
// dependency should work.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|