code: function processGetMetrics(req,res){
  
      processAuth(req,res).then(function (authResult){
          if(!authResult){
              return;
          }
          res.status(200).set('Content-Type', 'text/plain');
          res.end(promClient.register.metrics());
      });
  
      /*
      if(!processAuth(req,res)) {
          return;
      }
  
      res.status(200).set('Content-Type', 'text/plain');
      res.end(promClient.register.metrics());
      */
  }
docs: Process /swagger-stats/metrics request Return all metrics for Prometheus