fix(core): Avoid asymetric spanStart and spanEnd emissions
#21400
+31
−75
spanStart and spanEnd emissions
#21400