feat(api): add Prometheus metrics and OpenTelemetry instrumentation for HTTP, auth, classifications, and diagnoses

This commit is contained in:
MythEclipse
2026-06-07 18:12:32 +07:00
parent 3b7ccad619
commit ede1c480be
9 changed files with 128 additions and 1 deletions
+7 -1
View File
@@ -13,11 +13,17 @@
},
"dependencies": {
"@elysiajs/cors": "1.4.2",
"@opentelemetry/api": "1.9.1",
"@opentelemetry/exporter-prometheus": "0.218.0",
"@opentelemetry/instrumentation-http": "0.218.0",
"@opentelemetry/sdk-node": "0.218.0",
"@opentelemetry/semantic-conventions": "1.41.1",
"@zeavis/shared": "workspace:*",
"bcryptjs": "^3.0.3",
"drizzle-orm": "^0.45.2",
"elysia": "^1.4.28",
"postgres": "^3.4.9"
"postgres": "^3.4.9",
"prom-client": "15.1.3"
},
"devDependencies": {
"@types/bcryptjs": "^3.0.0",