[ 
https://issues.apache.org/jira/browse/UIMA-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik updated UIMA-1104:
--------------------------------

    Attachment: uimaj-as-core-UIMA-1104-patch-06.txt
                uimaj-as-activemq-UIMA-1104-patch-06.txt

Integrated JmxMonitor with the UIMA_Service. Refactored UIMA_Service to remove 
dead code.
The JmxMonitor startup is enabled via -Djmx.monitor.frequency=<number> 
parameter. A presence of this parameter enables the monitor and redefines 
monitor's default checkpoint frequency. Also, the monitor supports pluggable 
formatter listeners. These listeners are called with new metrics every time a 
checkpoint is completed. The listener may format the metrics to specific 
requirements. To plug in a custom formatter use -Djmx.monitor.formatter=<class 
name> parameter.

An example command line setting for the JmxMonitor is as follows:
set UIMA_JVM_OPTS=-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=8009 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false -Djmx.monitor.frequency=2000 
-Djmx.monitor.formatter=org.apache.uima.examples.as.DefaultUimaServiceMonitorFormatter

Note: the custom formatter class is instantiated using default (empty) 
constructor.



> Need a monitor component for UIMA-AS services to capture performance metrics 
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-1104
>                 URL: https://issues.apache.org/jira/browse/UIMA-1104
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: idleWithRemote.txt, 
> uimaj-as-activemq-UIMA-1104-patch-03.txt, 
> uimaj-as-activemq-UIMA-1104-patch-04.txt, 
> uimaj-as-activemq-UIMA-1104-patch-05.txt, 
> uimaj-as-activemq-UIMA-1104-patch-06.txt, 
> uimaj-as-activemq-UIMA-1104-patch.txt, uimaj-as-core-UIMA-1104-patch-02.txt, 
> uimaj-as-core-UIMA-1104-patch-03.txt, uimaj-as-core-UIMA-1104-patch-04.txt, 
> uimaj-as-core-UIMA-1104-patch-05.txt, uimaj-as-core-UIMA-1104-patch-06.txt, 
> uimaj-as-core-UIMA-1104-patch.txt
>
>
> In complex uima-as deployments it is hard to find bottlenecks which need 
> scaleup. A JMX-based monitor is needed to collect runtime metrics from every 
> uima-as service. The metrics must include idle time, queue depth, amount of 
> time each service waits for a free CAS. The monitor should be an embeddable 
> component that can be deployed in a java application. The monitor should 
> allow custom formatting of metrics via pluggable extension. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to