-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(openclaw): add OTEL diagnostics setup for conversation latency traces #4368
Copy link
Copy link
Closed
Copy link
Labels
area: integrationsThird-party service integration behaviorThird-party service integration behaviorarea: observabilityLogging, metrics, tracing, diagnostics, or debug outputLogging, metrics, tracing, diagnostics, or debug outputarea: performanceLatency, throughput, resource use, benchmarks, or scalingLatency, throughput, resource use, benchmarks, or scalingarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recoveryOpenShell sandbox lifecycle, runtime, config, or recoveryintegration: openclawOpenClaw integration behaviorOpenClaw integration behavior
Metadata
Metadata
Assignees
Labels
area: integrationsThird-party service integration behaviorThird-party service integration behaviorarea: observabilityLogging, metrics, tracing, diagnostics, or debug outputLogging, metrics, tracing, diagnostics, or debug outputarea: performanceLatency, throughput, resource use, benchmarks, or scalingLatency, throughput, resource use, benchmarks, or scalingarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recoveryOpenShell sandbox lifecycle, runtime, config, or recoveryintegration: openclawOpenClaw integration behaviorOpenClaw integration behavior
Type
Fields
Give feedbackNo fields configured for Enhancement.
Problem Statement
Users need a supported way to diagnose long agent response turnaround time during OpenClaw conversations running inside NemoClaw. NemoClaw now has opt-in onboard/setup profiling traces via #3769 and #4094, but that does not cover runtime conversation latency breakdowns.
OpenClaw already documents OTLP export through its
diagnostics-otelplugin, so NemoClaw should make that path easy to use from the sandbox instead of reimplementing conversation tracing in NemoClaw.Proposed Design
Add an opt-in OpenTelemetry diagnostics path for OpenClaw conversation traces in NemoClaw sandboxes:
clawhub:@openclaw/diagnostics-otelinto the OpenClaw sandbox path.The goal is that a user can inspect spans for a conversation turn and identify where a long response spent time, similar to a Phoenix-style timeline or stack trace with time intervals.
Alternatives Considered
Related Work
Acceptance Criteria
clawhub:@openclaw/diagnostics-otelfor OpenClaw in the sandbox without manual shell edits.Category
enhancement: feature
Checklist