GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Ingest OpenCode and Cursor OpenTelemetry once their exports are stable · Issue #335 · traceroost/core

Ingest OpenCode and Cursor OpenTelemetry once their exports are stable #335

New issue
Copy link
New issue
Copy link
Open
Open
Ingest OpenCode and Cursor OpenTelemetry once their exports are stable#335
Copy link

Description

@RogerReed
RogerReed
opened on Oct 18, 2026
Issue body actions

TraceRoost reads OpenCode's SQLite database and Cursor CLI's transcripts. Both tools now have some OpenTelemetry route, but neither is stable enough to build on yet. This issue tracks when to revisit and what the work is.

Where each stands (checked 2026-10-18)

OpenCode

  • A maintainer says OpenCode exports natively with the standard OTEL_EXPORTER_OTLP_* variables (anomalyco/opencode#5245). Another commenter reports experimental.openTelemetry is also needed. It is undocumented, and the request for proper native export is still open (#14697).
  • The documented route is a community plugin, DEVtheOPS/opencode-plugin-otel, which mirrors Claude Code's signals.
  • What it would add: span timing only (time to first token, per-tool latency, streaming speed). The database already carries prompts, tokens and tool errors.

Cursor

  • Native export is in Cursor's enterprise docs (wire reference) and covers the CLI (cursor.surface = cli). It is unclear whether an individual user can turn it on.
  • The other route is third-party hooks registered in ~/.cursor/hooks.json, for example o11y-dev/opentelemetry-hooks. The CLI fires fewer hook events than the IDE.
  • What it would add: the biggest gain. Cursor CLI's local files have no tokens, model or workspace, so its traces are unpriced today.

When to revisit

  • OpenCode: when it documents its native export, ideally as stable rather than experimental.
  • Cursor: when it offers OpenTelemetry export to individual (non-enterprise) users, or puts its hook events on the CLI on a par with the IDE.

The work, when it's time

  1. Capture. On a test machine, turn the export on, point it at a raw OTLP sink and save real payloads as fixtures, redacted with scripts/redact-spans.js.
  2. Summarize. Add a summarizer per agent, mapping their span and attribute names to TraceRoost's trace and span model. Merge with the log-sourced trace of the same session, the way Claude Code's OTEL and transcript are joined.
  3. Set up.
    • Add each to autoConfigNode.ts and to the agent-setup question (src/agentSetupText.ts).
    • Never touch a config that already exports to another collector.
    • Only automate a built-in setting, never a third-party plugin or hook. A plugin is something the user installs themselves.
  4. Document. Update README, Help, docs data-sources, and the cloud wire mapping (toWireAgent already has opencode and cursor).
  5. Test. Add fixture tests, and extend tests/e2e/real-agents.mjs where the agent can run in CI.

Until then, README and Help say TraceRoost reads their local history, not their telemetry (#336).

🤖 Generated with Claude Code


Generated by Claude Code

Activity

  1. RogerReed commented on Nov 9, 2026

    @RogerReed
    RogerReed
    on Nov 9, 2026
    CollaboratorAuthor
    More actions

    Re-checked 2026-11-08. Neither revisit condition is met, so this stays open as the tracker.

    OpenCode: the native-export request (anomalyco/opencode#14697) was auto-closed as stale in April 2026, not implemented. The source reads the standard OTEL_EXPORTER_OTLP_* variables (packages/util/src/observability.ts), but the docs still don't mention OpenTelemetry at all, so it remains undocumented and unstable to build on.

    Cursor: export is still Enterprise-only (https://cursor.com/docs/enterprise/opentelemetry-export). SigNoz's guide notes the CLI emits nothing through the hook route in non-interactive mode, so the hook workaround doesn't cover the CLI either.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.