Updating to include a rest server which can be used to view exported metrics from rest apis