Capture REST/WS/SSE errors in Sentry, emit structured pino logs with correlation IDs, and trace the book-tick pipeline to Sentry via OpenTelemetry. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
177 B
TypeScript
8 lines
177 B
TypeScript
import { initOpenTelemetry } from "./otel.js";
|
|
import { initSentry } from "./sentry.js";
|
|
|
|
export function initInstrumentation(): void {
|
|
initSentry();
|
|
initOpenTelemetry();
|
|
}
|