Would you mind if we replace your gc_callback with the get_gc_stats version once it becomes available? It provides more data, including timestamps for when collection starts and ends.
We could also just enrich the existing callback with timestamps and extra metrics, since that data’s already being collected anyway.