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 — experimental_telemetry metadata removed during LLM refactor · Issue #8193 · anomalyco/opencode

experimental_telemetry metadata removed during LLM refactor #8193

New issue
Copy link
New issue
Copy link
Closed
#8195
Closed
experimental_telemetry metadata removed during LLM refactor#8193
#8195
Copy link
Assignees
thdxr
Labels
bugSomething isn't working

Description

@Raviguntakala
Raviguntakala
opened on Jan 13, 2026
Issue body actions

Description

The userId and sessionId metadata added in #5279 was removed during the LLM code rework.

What happened:

  • PR feat(telemetry): Add userId and sessionId metadata to experimental_telemetry #5279 added userId and sessionId to experimental_telemetry.metadata for session-level trace grouping
  • During subsequent LLM refactoring, the llm.ts file was rewritten and lost the metadata fields
  • Only isEnabled remains, breaking trace grouping in observability platforms

Expected behavior:
experimental_telemetry should include metadata.userId and metadata.sessionId in all AI SDK calls.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. Raviguntakala
    added
    bugSomething isn't working
    on Jan 13, 2026
  2. github-actions
    assigned
    thdxr
    on Jan 13, 2026
  3. github-actions commented on Jan 13, 2026

    @github-actions
    github-actionsBot
    on Jan 13, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Feature: Add sessionID to experimental.chat.system.transform hook for tracing integration #6142: Feature request to add sessionID to experimental.chat.system.transform hook for observability/tracing integration - directly addresses the need for session context in observability platforms
    • feat(telemetry): Add userId and sessionId metadata to experimental_telemetry #5279: The original PR/issue that added userId and sessionId metadata to experimental_telemetry - this issue is a regression of that work

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

  4. rekram1-node
    closed this as completedin #8195on Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — 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.