Content Deep Dive
Collecting metrics with Tomcat monitoring tools
Blog post from Datadog
Post Details
Company
Date Published
Author
Mallory Mooney
Word Count
3,139
Language
English
Hacker News Points
-
Summary
In this series of posts, we discuss how to monitor Apache Tomcat using Java Management Extensions (JMX) and other tools. Part 1 covered key metrics exposed through JMX, while this post delves into collecting and querying that data. We explore using Tomcat Manager, enabling remote connections for JMX viewing metrics with other monitoring platforms like JConsole and JavaMelody, and customizing Tomcat server and access logs. By setting a few simple permissions, administrators can immediately begin viewing Tomcat and JVM data with Tomcat Manager. Once remote connections for JMX are enabled, tools like JConsole and JavaMelody can be used to monitor Tomcat data with simple graphical interfaces.