Skip to content

feat(timeseries): Add cross trace querying#104425

Merged
wmak merged 2 commits intomasterfrom
wmak/feat/add-cross-trace-querying-to-timeseries
Dec 11, 2025
Merged

feat(timeseries): Add cross trace querying#104425
wmak merged 2 commits intomasterfrom
wmak/feat/add-cross-trace-querying-to-timeseries

Conversation

@wmak
Copy link
Copy Markdown
Member

@wmak wmak commented Dec 4, 2025

  • This adds support for the cross trace queries to the timeseries endpoint

- This adds support for the cross trace queries to the timeseries
  endpoint
@wmak wmak requested review from a team as code owners December 4, 2025 22:49
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 4, 2025
@aliu39
Copy link
Copy Markdown
Member

aliu39 commented Dec 5, 2025

I'm curious how exactly the TraceItemFilters are applied to filter another item type? Is it via trace_id? E.g. if I do
"query all spans where log.severity = warn"
It first gets all traces where log.severity = warn, then filters spans based on that?

@wmak
Copy link
Copy Markdown
Member Author

wmak commented Dec 8, 2025

@aliu39 yes you can read more here; https://github.com/getsentry/snuba/blob/master/snuba/web/rpc/v1/resolvers/common/cross_item_queries.py#L67

I'd call this parameter experimental and not prod ready right now though so please don't use it yet

@aliu39
Copy link
Copy Markdown
Member

aliu39 commented Dec 8, 2025

@wmak got it thank you!

@wmak wmak merged commit c15e0f4 into master Dec 11, 2025
67 checks passed
@wmak wmak deleted the wmak/feat/add-cross-trace-querying-to-timeseries branch December 11, 2025 20:33
@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants