Skip to content

[FEATURE]:Add documentation for environment variables related to OTEL support #47195

Open

Description

@linghengqian

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Although #14246 (comment) mentions that OpenCode already supports OTEL, this is never documented at https://opencode.ai/docs/ .

I believe the documentation needs to properly document how to configure OTEL support and how to integrate with third-party APM platforms like https://github.com/apache/skywalking or https://github.com/elastic/apm .

Also see #35394 .

Activity

  1. github-actions commented on Sep 4, 2026

    @github-actions
    Contributor

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

  2. linghengqian commented on Sep 4, 2026

    @linghengqian
    Author

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

    I am, of course, aware that this issue is a duplicate of #35394. However, you keep requiring me to open a new issue every 60 days, even when the content is exactly the same as before.

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

  3. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for filing this again, @linghengqian, and sorry #35394 was closed by the stale bot without being resolved.

    You're asking for the docs to explain how to set up OpenCode's existing OpenTelemetry/OTLP export (the OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS and OTEL_RESOURCE_ATTRIBUTES environment variables) and how to connect it to APM backends such as Apache SkyWalking or Elastic APM. Maintainers will consider it.

    Related items:

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