Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 423 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 423 Bytes

Tomcat exporter

Tomcat exporter with some system info: MinHeapFreeRatio, MaxHeapFreeRatio, NewSize, MaxNewSize, NewRatio

Install

  1. 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
  1. Download metrics.war in target/metrics.war
  2. Go to tomcat manager page, deploy metrics.war
  3. Test by go to http://TOMCAT/metrics