Mastra launches span queries to filter and group trace spans
Overview
Mastra launches span queries that filter and group individual spans across all traces, rather than returning whole traces.
Each query can combine up to 100 conditions and returns up to 1,000 spans per page. Span groups can group by up to 2 dimensions over a time range of up to 365 days.
Span queries work on the Mastra platform and on self-hosted Mastra projects whose storage.observability uses DuckDB, PostgreSQL, or ClickHouse.
Written by AI from the articles below · updated Oct 28, 2:15 PM ET
Check the sources:
Article timeline
The articles in this story. Times are ET.
- Mastra BlogOfficialMastra 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. Span queries work on Mastra platform and self-hosted projects using DuckDB, PostgreSQL, or ClickHouse storage.
Heat Trend
Not enough continuous observations to show a trend yet.