fix(diagnostics-otel): export logs from diagnostic events

Export diagnostics OTEL logs through bounded diagnostic log events while keeping core log records off the public plugin diagnostic stream.\n\nIncludes security hardening for log payload redaction, bounded attributes, prototype-pollution keys, OTEL export failure reporting, and extension SDK seam usage.
This commit is contained in:
Vincent Koc
2026-04-24 14:51:45 -07:00
committed by GitHub
parent 150053bc86
commit 139dfd97bb
10 changed files with 708 additions and 196 deletions

View File

@@ -3,7 +3,11 @@
export type { DiagnosticEventPayload } from "../infra/diagnostic-events.js";
export type { DiagnosticTraceContext } from "../infra/diagnostic-trace-context.js";
export { emitDiagnosticEvent, onDiagnosticEvent } from "../infra/diagnostic-events.js";
export {
emitDiagnosticEvent,
onDiagnosticEvent,
onInternalDiagnosticEvent,
} from "../infra/diagnostic-events.js";
export {
createChildDiagnosticTraceContext,
createDiagnosticTraceContext,