Skip to content

feat(ai-monitoring): Filter and sort whole conversations - #123899

Merged
vgrozdanic merged 4 commits into
masterfrom
feat/conversation-query-aliases-only
Sep 10, 2026
Merged

feat(ai-monitoring): Filter and sort whole conversations#123899
vgrozdanic merged 4 commits into
masterfrom
feat/conversation-query-aliases-only

Conversation

@vgrozdanic

@vgrozdanic vgrozdanic commented Sep 9, 2026

Copy link
Copy Markdown
Member

AI conversation search now checks each condition against the whole conversation instead of requiring one span to match the entire query. For example, one agent span and one tool span can satisfy agent:researcher AND tool:search.

Each span condition becomes “this conversation has at least one matching span”:

gen_ai.tool.name:search
→ count_if(`gen_ai.tool.name:search`,span.duration):>0

Boolean logic and parentheses stay unchanged. Table aliases such as totalCost expand to EAP aggregates, while explicit aggregates pass through as written. Negated conditions require zero matching spans.

Closes TET-2904: Support group filtering for conversations

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 9, 2026
@vgrozdanic
vgrozdanic added this pull request to stack #123900 September 9, 2026 13:33
@vgrozdanic
vgrozdanic force-pushed the feat/conversation-query-aliases-only branch from 71a5ac9 to ac5f650 Compare September 9, 2026 14:02
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 9, 2026
@vgrozdanic
vgrozdanic removed this pull request from stack #123900 September 9, 2026 14:03
@vgrozdanic
vgrozdanic changed the base branch from fix/search-query-aggregate-arguments to master September 9, 2026 14:03
@vgrozdanic
vgrozdanic force-pushed the feat/conversation-query-aliases-only branch from ac5f650 to 0ce5765 Compare September 10, 2026 07:21
@github-actions github-actions Bot removed the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 10, 2026
@vgrozdanic vgrozdanic changed the title feat(ai-monitoring): Filter and sort whole conversation groups feat(ai-monitoring): Filter and sort whole conversations Sep 10, 2026
@vgrozdanic
vgrozdanic force-pushed the feat/conversation-query-aliases-only branch from 0ce5765 to 9359dbc Compare September 10, 2026 09:26
@vgrozdanic
vgrozdanic marked this pull request as ready for review September 10, 2026 09:32
@vgrozdanic
vgrozdanic requested a review from a team as a code owner September 10, 2026 09:32
@linear-code

linear-code Bot commented Sep 10, 2026

Copy link
Copy Markdown

TET-2904

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

LFG

@vgrozdanic
vgrozdanic enabled auto-merge (squash) September 10, 2026 10:00
@vgrozdanic
vgrozdanic merged commit 6e45072 into master Sep 10, 2026
58 checks passed
@vgrozdanic
vgrozdanic deleted the feat/conversation-query-aliases-only branch September 10, 2026 10:05
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