-
Notifications
You must be signed in to change notification settings - Fork 10
v3.5 Monitoring API
- Introduction
- Requirements
- Limitations
- Configuration 4.1. JMX 4.2. Prometheus
- Reporting 5.1. JMX 5.2. Prometheus 5.3. Standard Output 5.4. Log Files
Mongoose computes the rich set of the metrics characterizing each load step been performed. It means that the tool may work as a metrics providing service which may be used to build other applications on top of it. The metrics consumer may be a Mongoose-specific UI application either a monitoring infrastructure system.
To export the metrics via Prometheus exchange format it's necessary to deploy the standalone JMX Prometheus Exporter which can be downloaded using this link (for the version 0.9 which can change later).
TODO
To enable the remote monitoring add the following JVM arguments to the command line:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9010
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
To enable the metrics exporting for Prometheus run the standalone JMX Exporter:
java -jar jmx_prometheus_httpserver-0.9-jar-with-dependencies.jar 9280 <MONGOOSE_DIR>/config/jmx_exporter.yaml
Note:
- Mongoose provides the configuration file for the JMX Exporter.
- JMX Exporter will try to connect to Mongoose using the
127.0.0.1:9010
address by default. To change this behavior modify the<MONGOOSE_DIR>/config/jmx_exporter.yaml
configuration file.
- JMX bean domain name:
com.emc.mongoose.load.monitor
- JMX bean name: test step id
- JMX bean attributes: see below
Attributes reflect the current metric values for each test step:
- ByteCount
- ByteRateLast
- ByteRateMean
- DurationHiQ
- DurationLoQ
- DurationMax
- DurationMean
- DurationMed
- DurationMin
- DurationSum
- ElapsedTimeMillis
- FailCount
- FailRateLast
- FailRateMean
- LatencyHiQ
- LatencyLoQ
- LatencyMax
- LatencyMean
- LatencyMed
- LatencyMin
- LatencySum
- StartTimeMillis
- SuccCount
- SuccRateLast
- SuccRateMean
Note:
Attributes with names ending with "Millis" provide the time values measured in milliseconds. Other attributes providing the time values (DurationXXX and LatencyXXX) are in microseconds.
Example: monitoring the metrics using VisualVM application for the test step with id "step0":
TODO
TODO
- Overview
- Deployment
- User Guide
- Troubleshooting
- Reference