Rename registerGcStats to registerGcMetrics