JMX Monitoring
In this document
JMX Monitoring
Elastic Path Commerce exposes application metrics via JMX (Java Monitoring Extensions).
Application JMX Metrics
The following JMX metrics are available:
Metrics | JMX Path(s) |
---|---|
Camel statistics for asynchronous messaging |
|
Core caching configuration and statistics - for both application and OpenJPA data caches |
|
Cortex combined transaction statistics - counts, response times, rates |
|
Cortex per-resource transaction statistics - counts, response times, rates |
|
Cortex request scope caching |
|
Cortex executor statistics |
|
Quartz jobs in Batch Server and Search Server |
|
Search Server indexing |
|
Solr indexes |
|
Enabling JMX Remote Connections
To enable JMX remote connections to your production server:
- Open your server's startup script with a text editor.
- Modify JAVA_OPTS to include the
following:
This will allow a JMX client to connect to port 6969.- -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
- Restart the server.