mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 12:36:23 +00:00
* fix(diagnostics-otel): surface error message on run/harness error spans Errored openclaw.run / openclaw.harness.run spans only carried a low-cardinality errorCategory (or a hardcoded "error"), so trace UIs showed "outcome error" with no message. Thread the redacted error message through run.completed / harness.run.completed / harness.run.error onto an openclaw.error span attribute + span status, mirroring recordWebhookError. The raw message stays off metric attrs to preserve cardinality; support-bundle redaction covers the new error field by name. * fix(diagnostics-otel): harden run failure telemetry Co-authored-by: Alex Knight <aknight@atlassian.com> * test(diagnostics-otel): assert wire-level redaction * chore(changelog): defer release note to release process --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
23 lines
804 B
TypeScript
23 lines
804 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 DiagnosticEventPrivateData,
|
|
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";
|