Heroku allows the option of directly deploying one\'s Java .war file using heroku deploy:war (the Procfile is automatically manage
heroku deploy:war
I received this response from Heroku Support team:
WAR deploy doesn't specifically handle this case. However, it should work. You can include the New Relic JAR in your WAR and add the javaagent flag in your JAVA_OPTS config.