Skip to content

Add OTEL export capabilities for observability and monitoring #12142

Closed as not planned

Description

@Jonathan-Millar

Request: Add native OpenTelemetry (OTEL) trace export so OpenCode instances can be monitored via a standard OTEL collector/export pipeline.\n\nLinks:\n- OpenTelemetry project: https://opentelemetry.io\n- OpenTelemetry GitHub org: https://github.com/open-telemetry\n- OpenTelemetry Collector: https://github.com/open-telemetry/opentelemetry-collector\n\nWhy observability matters:\n- Lets operators diagnose latency, failures, and hot paths in production.\n- Enables service-level visibility across distributed components and clients.\n- Provides vendor-neutral telemetry that can be routed to any backend.

Activity

  1. github-actions commented on Feb 4, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. Betula-L commented on Mar 23, 2026

    @Betula-L

    I tested with Langfuse, and the missing piece seems to be handling incoming traceparent headers on the server side so request traces can attach to the upstream trace.

  3. assigned and unassigned on Apr 26, 2026
  4. punk-dev-robot commented on Apr 29, 2026

    @punk-dev-robot
  5. github-actions commented on Jun 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  6. rekram1-node commented on Jun 29, 2026

    @rekram1-node
    Collaborator

    Btw we have native OTEL support set ur standard env vars like: OTEL_EXPORTER_OTLP_ENDPOINT and youll see

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

Metadata

Metadata

Assignees

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