Monitors the maximum latency of events flowing through a specified path of the EPN of the specified application.
You specify the start and end stages of the path, and whether it should start or end at the entry or exit points of each respective stage. If you specify the same stage for the start and end of the path, you can monitor the maximum latency of events flowing through a single stage.
Syntax
java wlevs.Admin [ Connection Arguments ] [ User Credentials Arguments ] [ Common Arguments ] MONITORMAXLATENCY -application application -startStage startStage -startStagePoint stagePoint -endStage endStage -endStagePoint stagePoint -maxInterval maxInterval -timeUnit timeUnit
Table A-33 MONITORMAXLATENCY Arguments
Argument | Definition |
---|---|
-application application
|
Specifies the name of the Oracle Stream Analytics application whose throughput and latency you want to monitor. To get the exact name of your application, you can:
|
-startStage startStage |
Specifies the name of the stage that starts the path for which you want to monitor the maximum latency. The stage is in the application specified by the |
-startStagePoint startStagePoint |
Specifies the specific starting point for monitoring the maximum latency of the specified start stage. You can start monitoring from the entry or exit point of the start stage. Valid values are |
-endStage endStage |
Specifies the name of the stage that ends the path for which you want to monitor the maximum latency. The stage is in the application specified by the |
-endStagePoint endStagePoint |
Specifies the specific ending point for monitoring the maximum latency of the specified end stage. You can end monitoring from the entry or exit point of the end stage. Valid values are |
-maxInterval maxInterval
|
Specifies the interval across which maximum latency is calculate. Default value is 100. Specify the units with the |
Example
The following example shows how to monitor the maximum latency of events flowing through the cqlprocessor
stage, from entry point to exit point, of the helloworld
application:
java wlevs.Admin -url service:jmx:msarmi://localhost:9002/jndi/jmxconnector -username wlevs -password wlevs MONITORMAXLATENCY -application helloworld -startStage cqlprocessor -startStagePoint entry -endStage cqlprocessor -endStagePoint exit -maxInterval 100 -timeUnit MILLISECONDS