plutin 1.7.13 → 1.7.15
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/readme.md +8 -36
package/dist/index.cjs
CHANGED
|
@@ -1704,7 +1704,7 @@ var MetricsManager = class {
|
|
|
1704
1704
|
__name(this, "MetricsManager");
|
|
1705
1705
|
}
|
|
1706
1706
|
constructor() {
|
|
1707
|
-
console.log(
|
|
1707
|
+
console.log(`OTEL_ENABLE - value: ${process.env.OTEL_ENABLE} - type: ${typeof process.env.OTEL_ENABLE}`);
|
|
1708
1708
|
console.log("OTEL_SERVICE_NAME", process.env.OTEL_SERVICE_NAME);
|
|
1709
1709
|
console.log("OTEL_SERVICE_VERSION", process.env.OTEL_SERVICE_VERSION);
|
|
1710
1710
|
}
|
|
@@ -1987,6 +1987,7 @@ var MetricsManager = class {
|
|
|
1987
1987
|
});
|
|
1988
1988
|
}
|
|
1989
1989
|
startSystemMetricsCollection(intervalMs = 5e3) {
|
|
1990
|
+
console.log(`OTEL_ENABLED - ${!OTEL_ENABLED} - ${this.meter}`);
|
|
1990
1991
|
if (!OTEL_ENABLED || !this.meter) {
|
|
1991
1992
|
return;
|
|
1992
1993
|
}
|