Files
openclaw/extensions/diagnostics-otel/api.ts
2026-06-04 21:02:07 -04:00

22 lines
769 B
TypeScript

// Diagnostics Otel API module exposes the plugin public contract.
export {
createChildDiagnosticTraceContext,
createDiagnosticTraceContext,
emitDiagnosticEvent,
formatDiagnosticTraceparent,
isValidDiagnosticSpanId,
isValidDiagnosticTraceFlags,
isValidDiagnosticTraceId,
onDiagnosticEvent,
parseDiagnosticTraceparent,
type DiagnosticEventMetadata,
type DiagnosticEventPayload,
type DiagnosticTraceContext,
} from "openclaw/plugin-sdk/diagnostic-runtime";
export { emptyPluginConfigSchema, type OpenClawPluginApi } from "openclaw/plugin-sdk/plugin-entry";
export type {
OpenClawPluginService,
OpenClawPluginServiceContext,
} from "openclaw/plugin-sdk/plugin-entry";
export { redactSensitiveText } from "openclaw/plugin-sdk/security-runtime";