Files
ShieldAI/packages/monitoring/package.json
Michael Freno 31e0b39794 fix: address Code Reviewer findings for Datadog/Sentry integration FRE-4806
P1: Load dd-trace before other modules via datadog-init.ts entry point
P1: Batch all CloudWatch metrics into single PutMetricDataCommand per request
P2: Deduplicate warning logs with else-if for high latency vs error
P3: Add response.ok check to Datadog log forwarding fetch
P3: Update getSentryHub() to use getCurrentScope() for Sentry SDK 8.x

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-10 16:02:18 -04:00

25 lines
512 B
JSON

{
"name": "@shieldai/monitoring",
"version": "0.1.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint src/"
},
"dependencies": {
"@aws-sdk/client-cloudwatch": "^3.500.0",
"dd-trace": "^5.0.0",
"@sentry/node": "^8.0.0",
"zod": "^3.23.0"
},
"devDependencies": {
"@types/node": "^25.6.0",
"typescript": "^5.7.0"
},
"exports": {
".": "./src/index.ts",
"./datadog-init": "./src/datadog-init.ts"
}
}