Tomcat module

edit

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.

Compatibility

edit

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

Usage

edit

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

Example configuration

edit

The Tomcat module supports the standard configuration options that are described in Specify which modules to run. 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"

Metricsets

edit

The following metricsets are available: