builtins: add tenant_span_stats
generator function
#97534
Merged
tenant_span_stats
generator function
#97534