You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2010/08/03 04:24:15 UTC

[jira] Commented: (OPENJPA-1739) Add pluggable instrumentation and instrumentation provider capabilities to OpenJPA

    [ https://issues.apache.org/jira/browse/OPENJPA-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894790#action_12894790 ] 

Jeremy Bauer commented on OPENJPA-1739:
---------------------------------------

Committed rev 1 of this feature under revision 981719.  Includes base support for an instrumentation manager, instrumentation providers, and instruments.  In addition, there are the beginnings of instruments for data cache, query cache, and prepared query cache and a JMX platform MBean provider.  Updates, fixes, doc and more tests to follow...

@Pinaki - I answered your questions several days ago, but the comment didn't get make it into the JIRA for whatever reason.  

1) Platform MBean supported included with the JDK provides remote connectivity with a very small amount of configuration.  The JMX provider I'm working on is based on that.  A provider for another remote-able technology could be plugged in as well.

2) Initially, the goal will be to provide simple callable MBean API interfaces.  A control or widget can use standard JMX calls to get metrics from various sources.

3) The base "enablement" will go into OpenJPA.  Tools built on top of the instrumentation should go elsewhere.  Most likely devtools.


> Add pluggable instrumentation and instrumentation provider capabilities to OpenJPA
> ----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1739
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1739
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: instrumentation
>    Affects Versions: 2.1.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>
> I've been working in a pluggable instrumentation framework for OpenJPA that could provide out-of-band accessibility instrumentation of various components.  I've started with the simple ones, DataCache & QueryCache , since they are currently instrumented (in-band).  The framework provides pluggability of instrumentation providers and components via standard configuration.  I have a JMX-based implementation in the works, but the framework will be designed such that other providers and instrumentation can be plugged in as well.  The JMX provider will allow for remote, out-of-band monitoring (and eventual control) of whatever is being instrumented.  For example, caches, SQL execution, enhancement, etc. could be instrumented.  I'll be incrementally committing bits and pieces of this function over the next several weeks for comment & review.

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