Skip to content

feat(explore): Show agent data without conversations - #124279

Merged
obostjancic merged 14 commits into
masterfrom
ognjenbostjancic/tet-2970-show-agentic-traces-non-conversations-in-exploreagents
Sep 15, 2026
Merged

obostjancic merged 14 commits into
masterfrom
ognjenbostjancic/tet-2970-show-agentic-traces-non-conversations-in-exploreagents

Conversation

@obostjancic

@obostjancic obostjancic commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Explore > Agents now shows aggregate charts for agent runs, estimated model cost, and tool calls alongside URL-backed Conversations, Traces, and Spans tabs. Projects with conversation data still default to Conversations, while projects sending agentic spans without conversation IDs default to Traces.

The tables reuse the existing Agent Monitoring and Explore components. The Spans tab uses the same columns as the prebuilt LLM Calls saved query. Opening an empty Conversations tab shows the conversation setup flow. Projects with no Gen AI spans see that same conversation setup, including the agent prompt, without charts or data tabs.

The new overview is gated by gen-ai-agents-overview; organizations without the flag retain the existing Conversations experience. The flag was registered in #124391, with the initial rollout configured separately in https://github.com/getsentry/sentry-options-automator/pull/9739.

Refs TET-2970

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 14, 2026
@linear-code

linear-code Bot commented Sep 14, 2026

Copy link
Copy Markdown

TET-2970

Add agent charts and Conversations, Traces, and Spans tabs to the Explore Agents overview, with data-aware defaults and onboarding.

Refs TET-2970
Use the requested chart titles and hide confidence footers.

Refs TET-2970
Choose chart buckets from the selected time range, including hourly buckets for 24 hours and daily buckets for seven days or longer.

Refs TET-2970
Show the Agent Monitoring setup directly when no agent data exists, while retaining charts and tab-specific conversation onboarding for trace users.

Refs TET-2970
Reuse the standard chart interval options and range-aware defaults across all three agent charts.

Refs TET-2970
@obostjancic
obostjancic force-pushed the ognjenbostjancic/tet-2970-show-agentic-traces-non-conversations-in-exploreagents branch from daa5b4b to 05952ad Compare September 14, 2026 15:24
The unified agent charts replace the previous single conversations chart, so remove its now-unused implementation and tests.

Refs TET-2970
Preserve the existing Conversations overview unless the gen-ai-agents-overview feature is enabled.

Refs TET-2970
…t-2970-show-agentic-traces-non-conversations-in-exploreagents
@obostjancic
obostjancic marked this pull request as ready for review September 15, 2026 10:37
@obostjancic
obostjancic requested a review from a team as a code owner September 15, 2026 10:37

@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.

Stale Bugbot comment from a previous run.

Use the conversation onboarding prompt when no Gen AI spans have been received.

Refs TET-2970
…gentic-traces-non-conversations-in-exploreagents' into ognjenbostjancic/tet-2970-show-agentic-traces-non-conversations-in-exploreagents
Show the same span fields as the prebuilt LLM Calls saved query in the Agents overview.

Refs TET-2970

@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.

Reviewed by Cursor Bugbot for commit dca0d9b. Configure here.

@obostjancic
obostjancic enabled auto-merge (squash) September 15, 2026 12:07
@obostjancic
obostjancic merged commit e2ed037 into master Sep 15, 2026
72 of 73 checks passed
@obostjancic
obostjancic deleted the ognjenbostjancic/tet-2970-show-agentic-traces-non-conversations-in-exploreagents branch September 15, 2026 12:11
ale-cota added a commit that referenced this pull request Nov 11, 2026
`conversations.onboarding.page-view` only fires when the Conversations
tab is selected. Since #124279, orgs without conversations default to
the Traces tab. When an org has no gen AI spans at all, `AgentsTable`
swaps every tab for `ConversationOnboarding`, but the page still treats
the selected tab as `traces`. As a result, the main "get started" empty
state on Explore → Agents hasn't been tracked since mid-September, which
is why the event dropped off sharply for new orgs.

This fires the event whenever onboarding is shown, and adds an
`empty_state` parameter:

- `no_agent_spans`: the selected projects have no gen AI spans, so
onboarding replaces the whole table area.
- `no_conversations`: the org has agent spans but no conversation ids,
and the Conversations tab is selected. This is the only case the event
covered before.

`conversations.table.page-view` behaves the same as before.

Expect a step up in `conversations.onboarding.page-view` volume once
this ships. Data from Sep 15 until this merges undercounts the no-spans
case.

<!-- junior-request-attribution:start -->
via **ale**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AD0BFQPU5L2G%3A1794388177.537699 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0BFQPU5L2G%3A1794388177.537699)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0BFQPU5L2G%3A1794388177.537699/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Alexandra Cota <[email protected]>
ale-cota added a commit that referenced this pull request Nov 11, 2026
`conversations.table.page-view` only fires when the Conversations tab is
selected on Explore → Agents. The Traces and LLM Calls tabs send no page
view of their own. Since #124279, orgs without conversation IDs land on
Traces by default, so we can't see which tables most visitors use.

This fires `conversations.table.page-view` whenever a table is shown, on
any tab, and adds a `tab` parameter: `conversations`, `traces`, or
`spans` (LLM Calls). The values match the `table` URL param. Switching
tabs fires the event again for the new tab.

What stays the same:
- When onboarding replaces the table, the page still fires
`conversations.onboarding.page-view` instead (#130767).
- `conversations.page-view` still fires on every load.

Expect `conversations.table.page-view` volume to go up once this ships.
Data before then only covers the Conversations tab.

Not included: a separate tab-switch event on the overview. Each switch
now fires a page view with the new `tab`, so switches show up in the
data. Telling a default landing apart from a deliberate click would
still need its own event.

<!-- junior-request-attribution:start -->
via **ale**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A486bbfe9b2d4cf324748a1ed -->

--

[View Session in
Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A486bbfe9b2d4cf324748a1ed/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: ale <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — dca0d9b0 Deployed Sep 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants