code: func enablePrometheusOutput(req *http.Request) bool {
  	if format := req.URL.Query().Get("format"); format == "prometheus" {
  		return true
  	}
  	return false
  }
docs: // enablePrometheusOutput will look for Prometheus mime-type or format Query parameter the same way as Nomad