Skip to content

docs(agent-monitoring): Add setUser / user attribution instructions#217

Merged
obostjancic merged 1 commit into
mainfrom
ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring
Jun 26, 2026
Merged

docs(agent-monitoring): Add setUser / user attribution instructions#217
obostjancic merged 1 commit into
mainfrom
ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring

Conversation

@obostjancic

@obostjancic obostjancic commented Jun 25, 2026

Copy link
Copy Markdown
Member

Adds user attribution guidance to the AI monitoring skill and all four per-SDK ai-monitoring references (node, python, nextjs, nestjs).

Each section adds a 'User Attribution' subsection explaining that calling Sentry.setUser() (JS) or sentry_sdk.set_user() (Python) once per request or session populates the User column in the Conversations view, with a minimal code snippet and a troubleshooting table row.

Companion PRs:

Refs TET-2513

Add a 'User Attribution' subsection to the Conversations section in the
main AI monitoring SKILL.md and all four per-SDK ai-monitoring references
(node, python, nextjs, nestjs).

Each section explains that calling Sentry.setUser() / sentry_sdk.set_user()
once per request or session populates the User column in the Conversations
view, with a minimal code snippet and a troubleshooting table row.

Refs TET-2513
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

TET-2513

@andreiborza andreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for JS

@obostjancic obostjancic merged commit 4f49972 into main Jun 26, 2026
16 checks passed
@obostjancic obostjancic deleted the ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring branch June 26, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants