Added Carbon metric recording.