How to monitor java application memory usage in Docker

前端 未结 6 1213
刺人心
刺人心 2020-12-29 12:04

I run the java web application on tomcat in the Docker container.

Is there any way to monitor the memory usage of the java application? I try to use jconsole<

6条回答
  •  误落风尘
    2020-12-29 12:57

    cAdvisor mentioned above will not help with monitoring Tomcat running inside the container. You may want to take a look at SPM Client docker container, which does exactly that! It has the agents for monitoring a number of different applications running in Docker - Elasticsearch, Solr, Tomcat, MySQL, and so on: https://github.com/sematext/docker-spm-client

提交回复
热议问题