Monitors the average number of events flowing through the entry or exit point of a stage of the EPN of the specified application.
Syntax
java wlevs.Admin 
    [ Connection Arguments ]
    [ User Credentials Arguments ]
    [ Common Arguments ] 
    MONITORAVGTHROUGHPUT -application application 
    -stage stage -StagePoint stagePoint 
    -throughputInterval throughputInterval -avgInterval avgInterval
    -timeUnit timeUnit
Table A-34 MONITORAVGLATENCY 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: 
 | 
| -stage stage | Specifies the name of the stage for which you want to monitor throughput of events. The stage is in the application specified by the  | 
| -stagePoint stagePoint | Specifies whether you want to monitor throughput at the entry- or exit- point of the specified stage. Valid values are  | 
| 
-throughputInterval throughputInterval
 | Specifies the throughput interval across which throughput is calculated. Default value is 100. Specify the units with the  | 
| 
-avgInterval avgInterval
 | Specifies the average interval across which average throughput is calculated. Default value is 100. Specify the units with the  | 
Example
The following example shows how to monitor the number of events flowing through the entry point of the cqlprocessor stage of the helloworld application:
java wlevs.Admin 
     -url service:jmx:msarmi://localhost:9002/jndi/jmxconnector 
     -username wlevs -password wlevs 
     MONITORMAXLATENCY -application helloworld 
     -stage cqlprocessor -stagePoint entry 
     -throughputInterval 100 -avgInterval 100 -timeUnit MILLISECONDS