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>
9 lines
227 B
TypeScript
9 lines
227 B
TypeScript
import { getMonitoringConfig } from './config';
|
|
import { initDatadog } from './datadog';
|
|
import { initSentry } from './sentry';
|
|
import { initDatadogLogs } from './datadog-logs';
|
|
|
|
initDatadog();
|
|
initSentry();
|
|
initDatadogLogs();
|