feat: add diagnostics and telemetry runtime

This commit is contained in:
donghyeon-ka
2026-07-26 16:42:27 +09:00
parent 2fa0baa577
commit 5173b6c8d6
43 changed files with 1760 additions and 116 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { DiagnosticsPort } from "../../../src/application/ports/diagnostics-port.js";
import type { TelemetryPort } from "../../../src/application/ports/telemetry-port.js";
declare const diagnostics: DiagnosticsPort;
declare const telemetry: TelemetryPort;
diagnostics.record({
level: "fatal",
eventId: "UNKNOWN_DIAGNOSTIC_EVENT",
});
telemetry.emit("unknown.telemetry.event", {});