@blaxel/telemetry 0.2.0-dev19 → 0.2.0-dev20
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/telemetry.js +1 -4
- package/package.json +3 -2
package/dist/telemetry.js
CHANGED
|
@@ -122,10 +122,7 @@ class TelemetryManager {
|
|
|
122
122
|
setupSignalHandler() {
|
|
123
123
|
const signals = ["SIGINT", "SIGTERM", "uncaughtException", "exit"];
|
|
124
124
|
for (const signal of signals) {
|
|
125
|
-
process.on(signal, (
|
|
126
|
-
if (signal !== "exit") {
|
|
127
|
-
core_1.logger.error(error);
|
|
128
|
-
}
|
|
125
|
+
process.on(signal, () => {
|
|
129
126
|
this.shutdownApp().catch((error) => {
|
|
130
127
|
core_1.logger.debug("Fatal error during shutdown:", error);
|
|
131
128
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blaxel/telemetry",
|
|
3
|
-
"version": "0.2.0-
|
|
3
|
+
"version": "0.2.0-dev20",
|
|
4
4
|
"description": "Blaxel SDK for TypeScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Blaxel, INC (https://blaxel.ai)",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@opentelemetry/sdk-trace-base": "^2.0.0",
|
|
72
72
|
"@opentelemetry/sdk-trace-node": "^2.0.0",
|
|
73
73
|
"ai": "^4.3.13",
|
|
74
|
-
"@blaxel/core": "0.2.0-
|
|
74
|
+
"@blaxel/core": "0.2.0-dev20"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@eslint/js": "^9.26.0",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"build": "tsc",
|
|
84
|
+
"dev": "tsc --watch",
|
|
84
85
|
"lint": "eslint src/"
|
|
85
86
|
}
|
|
86
87
|
}
|