GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — feat(telemetry): Add userId and sessionId metadata to experimental_telemetry by Raviguntakala · Pull Request #5279 · anomalyco/opencode Conversation
Contributor
SummaryAdds MotivationCurrently, OpenCode emits OTEL traces for cost and token usage tracking, but lacks user/session context. This makes it difficult to:
Testing
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Hey @omercnet your plugin looks fine. No issue from Langfuse plugin side. The reason you’re not seeing user/session grouping is from OpenCode side. After my PR got merged, Dax did a rework on the LLM calls and in that rework the userId and sessionId propagation got removed (not being passed into experimental_telemetry.metadata for LLM calls). So Langfuse is receiving spans, but without userId/sessionId metadata, it can’t show user level / session level grouping. I’ll raise another PR with the latest code changes to restore passing userId and sessionId across all LLM calls. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Opened a follow up PR to fix this: #8195 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.