newrelic_demo_java
You need to modify "your-newrelic-key" in the script "run.sh"
build docker images
docker build -t msfhubanbei/sample .
run docker
docker run -d -p 58081:8080 msfhubanbei/sample
It will take about 10 minutes for startting up tomcat.
Then you can access the sample by http://your-machineip:58081/sample/.
Related blog:
http://blog.csdn.net/hubanbei2010/article/details/78365463
POC ENV:
newrelic_monitor_javaapp.pdf
reference:
https://kiwenlau.com/2016/01/09/160109-multiple-processes--docker-container/
https://code.tutsplus.com/tutorials/how-to-monitor-docker-based-applications-using-new-relic--cms-24891
https://docs.newrelic.com/docs/apm