Skip to content

[obs-gap:nemoclaw] nemoclaw: onboarding OTel trace artifacts (NEMOCLAW_TRACE) not ingested #5193

Description

@github-actions

Automated harness-observability audit found a gap for nemoclaw.

  • Harness exposes: When NEMOCLAW_TRACE is set, the harness writes OpenTelemetry-style spans for each onboarding phase (e.g. nemoclaw.onboard.phase.gateway, nemoclaw.onboard.phase.inference) to NEMOCLAW_TRACE_FILE / NEMOCLAW_TRACE_DIR (default .e2e/traces/trace.json), including span status (OK/ERROR/UNSET), duration_ms, events, sanitized attributes, and a summary.slowest_spans list — a structured record of which onboarding step failed or was slow.
  • ClawMetry misses: The adapter has no code path that reads a nemoclaw trace/span file (no reference to NEMOCLAW_TRACE, NEMOCLAW_TRACE_FILE/DIR, resource_spans, or onboard.phase.* anywhere in openclaw.py). A failed or slow onboarding phase is invisible to the dashboard even though the harness already records it on disk.
  • Where (harness): src/lib/trace.ts (TRACE_ENABLED_ENV, TRACE_FILE_ENV, TRACE_DIR_ENV, TraceArtifact/TraceSpan shapes, DEFAULT_TRACE_DIR = .e2e/traces)
  • Severity: medium
  • Closest capability: new

Filed by scripts/harness/audit.py. Fingerprint: hgap-1f53053124 (used to dedupe — keep it in the body).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions