Add OTEL export capabilities for observability and monitoring #8527

Open
opened 2026-02-16 18:10:12 -05:00 by yindo · 1 comment
Owner

Originally created by @Jonathan-Millar on GitHub (Feb 4, 2026).

Originally assigned to: @thdxr on GitHub.

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.

Originally created by @Jonathan-Millar on GitHub (Feb 4, 2026). Originally assigned to: @thdxr on GitHub. 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.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2026):

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

  • #219: Feature Request: Add Langfuse Tracing
  • #6142: Feature: Add sessionID to experimental.chat.system.transform hook for tracing integration
  • #2666: [Question] detailed per-interaction telemetry (token counts and input composition) for opencode-model communications
  • #5554: Disable Telemetry
  • #9037: Feature Request: Add LLM API Call Duration Logging
  • #9172: [FEATURE]: Prompt + file edit logging for benchmarking
  • #6279: Feature: Pass session identifier to MCP servers

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

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #219: Feature Request: Add Langfuse Tracing - #6142: Feature: Add sessionID to experimental.chat.system.transform hook for tracing integration - #2666: [Question] detailed per-interaction telemetry (token counts and input composition) for opencode-model communications - #5554: Disable Telemetry - #9037: Feature Request: Add LLM API Call Duration Logging - #9172: [FEATURE]: Prompt + file edit logging for benchmarking - #6279: Feature: Pass session identifier to MCP servers Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8527