Skip to content

Support span:childCount intrinsic with new column in vp5 - #6126

Merged
mdisibio merged 3 commits into
grafana:mainfrom
mdisibio:vp5-span-childcount
Jan 6, 2026
Merged

Support span:childCount intrinsic with new column in vp5#6126
mdisibio merged 3 commits into
grafana:mainfrom
mdisibio:vp5-span-childcount

Conversation

@mdisibio

@mdisibio mdisibio commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

What this PR does:
Adds support for the span:childCount intrinsic, backed by a new column in vParquet5 (still in development). This is the number of direct children on a span. It works for search, metrics, autocomplete, and drilldown/compare.

Removed the unscoped childCount variant from the parser. This should be fine as it always returned an unsupported error so there is no impact to existing queries.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
@oleg-kozlyuk-grafana

Copy link
Copy Markdown
Contributor

This looks comprehensive and well-rounded, LGTM

@mdisibio
mdisibio merged commit fc3212f into grafana:main Jan 6, 2026
37 of 38 checks passed
@mdisibio mdisibio mentioned this pull request Jan 6, 2026
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Support span:childCount intrinsic with new column in vp5

* Fix tests, update build image and re-gen traceql

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants