Mock metrics server to capture POST requests and write them out to a data store.