Tomcat exporter with some system info: MinHeapFreeRatio, MaxHeapFreeRatio, NewSize, MaxNewSize, NewRatio
- Create get tomcat id sh
echo "ps -ef | grep tomcat | grep -v grep | awk '{ print \$2; print \$8 }'" > /tmp/getpid.sh && chmod +x /tmp/getpid.sh
- Download metrics.war in target/metrics.war
- Go to tomcat manager page, deploy metrics.war
- Test by go to http://TOMCAT/metrics