mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-20 17:41:33 -06:00
139dfd97bb
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.
28 lines
1019 B
TypeScript
28 lines
1019 B
TypeScript
// Narrow plugin-sdk surface for the bundled diagnostics-otel plugin.
|
|
// Keep this list additive and scoped to the bundled diagnostics-otel surface.
|
|
|
|
export type { DiagnosticEventPayload } from "../infra/diagnostic-events.js";
|
|
export type { DiagnosticTraceContext } from "../infra/diagnostic-trace-context.js";
|
|
export {
|
|
emitDiagnosticEvent,
|
|
onDiagnosticEvent,
|
|
onInternalDiagnosticEvent,
|
|
} from "../infra/diagnostic-events.js";
|
|
export {
|
|
createChildDiagnosticTraceContext,
|
|
createDiagnosticTraceContext,
|
|
formatDiagnosticTraceparent,
|
|
isValidDiagnosticSpanId,
|
|
isValidDiagnosticTraceFlags,
|
|
isValidDiagnosticTraceId,
|
|
parseDiagnosticTraceparent,
|
|
} from "../infra/diagnostic-trace-context.js";
|
|
export { registerLogTransport } from "../logging/logger.js";
|
|
export { redactSensitiveText } from "../logging/redact.js";
|
|
export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
|
|
export type {
|
|
OpenClawPluginApi,
|
|
OpenClawPluginService,
|
|
OpenClawPluginServiceContext,
|
|
} from "../plugins/types.js";
|