add discharge and missing times to metrics scheduled tasks