Repository navigation
docs(enterprise): document how to find a user's Laminar traces by version - #1196
Open
juanmichelini wants to merge 1 commit into
Open
juanmichelini wants to merge 1 commit into
juanmichelini wants to merge 1 commit into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
juanmichelini
requested review from
all-hands-bot and
rajshah4
and removed request for
all-hands-bot
November 25, 2026 23:20
rajshah4
approved these changes
Dec 2, 2026
rajshah4
left a comment
Member
There was a problem hiding this comment.
I validated the newer lookup against stored traces in Laminar on EKS. The stable app UUID is the Laminar user_id, and the email remains searchable in metadata.user_email.
Three observations from testing, in case you want to fold them in:
- The identity change appears in Enterprise app version
1.78.0. In1.77.0, OpenHands used the email asuser_idwhen available. - The SQL editor rejected
labels['user_email']as an unknown identifier.JSONExtractString(metadata, 'user_email')worked for an exact email match. - The EKS API schema lists
GET /api/v1/users/mefor your own ID andGET /api/admin/userswith anemailfilter for admin lookup. I didn’t see the lookup route shown in the PR. If you already have the UUID, Laminar’s User ID filter takes it directly.
Leaving these with you to include if helpful.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Follow-up to Linear ALL-6028 ("Regression: laminar is using random user ids instead of email").
ALL-6028 reported that Laminar traces stopped appearing under a user's email around Oct 23. This is not a telemetry bug — it is the intended behavior change from OpenHands/enterprise#937 (merged 2026-10-22, shipped in OHE 0.81) that fixed a PostHog funnel identity-stitching bug. The problem is that the change was not documented, so operators can no longer find a user's traces by searching for their email.
Closes #1195.
Summary
Adds a "Find a User's Traces" section to
enterprise/analytics.mdx(placed right before "Query Traces with SQL") that documents:user_email).< 0.81:WHERE user_id = 'example@email.com'>= 0.81:WHERE labels['user_email'] = 'example@email.com'Before / after
How to test
npx mintlify@latest devand confirm the new section renders on/enterprise/analytics.OpenHands/enterprise#937resolves.Type
This PR was created by an AI agent (OpenHands) on behalf of @juanmichelini.