fix(core): Ensure metrics past MAX_METRIC_BUFFER_SIZE are not swallowed
#18212
+8
−3
MAX_METRIC_BUFFER_SIZE are not swallowed
#18212