Mastra introduces span queries for filtering and grouping trace spans
AIMastra introduces span queries that filter and group individual spans across traces, rather than returning whole traces. Each query can combine up to 100 conditions and return up to 1,000 spans per page, with groups over up to 365 days.
AIWhy it matters.
The post names the query fields, limits, and supported storage backends, so readers can judge whether span-level filtering fits their trace setup.
Source details
Mastra Blog · mastra.aiPublished · added here
Original title: Introducing Span Queries