Tomcat moduleedit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

This module periodically fetches JMX metrics from Apache Tomcat.

Compatibilityedit

The module has been tested with Tomcat 7.0.24 and 9.0.24. Other versions are expected to work.

Dashboardedit

An overview dashboard for Kibana is already included:

metricbeat tomcat overview

Usageedit

The Tomcat module requires Jolokiato fetch JMX metrics. Refer to the link for instructions about how to use Jolokia.

Example configurationedit

The Tomcat module supports the standard configuration options that are described in Modules. Here is an example configuration:

metricbeat.modules:
- module: tomcat
  metricsets: ['threading', 'cache', 'memory', 'requests']
  period: 10s
  hosts: ['localhost:8080']
  path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"

Metricsetsedit

The following metricsets are available: