Uploading metrics, saving them to mongo