Skip to content

feat(explore): Register conversations list chart referrer - #120551

Merged
ArthurKnaus merged 2 commits into
masterfrom
claude/admiring-carson-08eb41
Jul 24, 2026
Merged

feat(explore): Register conversations list chart referrer#120551
ArthurKnaus merged 2 commits into
masterfrom
claude/admiring-carson-08eb41

Conversation

@ArthurKnaus

@ArthurKnaus ArthurKnaus commented Jul 24, 2026

Copy link
Copy Markdown
Member

Register three AI Conversations referrers in the Referrer enum:

  • api.explore.conversations.list.chart
  • api.explore.conversations.onboarding
  • api.explore.conversations.get-agent-names

The frontend (static/app/views/explore/conversations/) will send these to the events-timeseries and events endpoints

Register the api.explore.conversations.list.chart referrer used by the AI
Conversations overview chart when it queries the events-timeseries endpoint.
Previously the referrer was unregistered and only produced a validate_referrer
warning.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 24, 2026
…rrers

Register the api.explore.conversations.onboarding and
api.explore.conversations.get-agent-names referrers used by the AI Conversations
page. onboarding is sent by the onboarding span-waiter hooks; get-agent-names is
sent by the agent selector. Both were previously unregistered under the
api.insights.conversations.* prefix and only produced validate_referrer warnings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ArthurKnaus
ArthurKnaus requested a review from a team July 24, 2026 11:29
@ArthurKnaus
ArthurKnaus marked this pull request as ready for review July 24, 2026 11:29
@ArthurKnaus
ArthurKnaus requested a review from a team as a code owner July 24, 2026 11:29

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 326b288. Configure here.

Comment thread src/sentry/snuba/referrer.py
Comment thread src/sentry/snuba/referrer.py
@ArthurKnaus

Copy link
Copy Markdown
Member Author

bots are confused as the referrers are not yet added in the FE

@ArthurKnaus
ArthurKnaus merged commit 2dc4466 into master Jul 24, 2026
92 of 93 checks passed
@ArthurKnaus
ArthurKnaus deleted the claude/admiring-carson-08eb41 branch July 24, 2026 11:40
ArthurKnaus added a commit that referenced this pull request Jul 24, 2026
Add a chart above the conversations list showing cost, message volume,
or
conversation count over time, so users can spot trends without opening
individual conversations.

The chart reuses the page's existing project, agent, and search filters,
and
lets users switch the metric, toggle line/bar, and pick the time
interval.

Gated behind the conversations redesign feature flag.

Depends on #120551 registering
the new `api.explore.conversations.*`
referrers

Closes TET-2739
Christinarlong pushed a commit that referenced this pull request Jul 24, 2026
Register three AI Conversations referrers in the Referrer enum:

api.explore.conversations.list.chart
api.explore.conversations.onboarding
api.explore.conversations.get-agent-names
The frontend (static/app/views/explore/conversations/) will send these to the events-timeseries and events endpoints
Christinarlong pushed a commit that referenced this pull request Jul 24, 2026
Add a chart above the conversations list showing cost, message volume,
or
conversation count over time, so users can spot trends without opening
individual conversations.

The chart reuses the page's existing project, agent, and search filters,
and
lets users switch the metric, toggle line/bar, and pick the time
interval.

Gated behind the conversations redesign feature flag.

Depends on #120551 registering
the new `api.explore.conversations.*`
referrers

Closes TET-2739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants