| Summary: | [Tech Preview] Common Base Event instrumentation. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Slauenwhite <paulslau> | ||||
| Component: | TPTP.monitoring | Assignee: | Matt Mings <mmings> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | smith | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| URL: | http://www.eclipse.org/tptp/groups/Architecture/documents/features/hf_130774.html | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 148816 | ||||||
| Attachments: |
|
||||||
|
Description
Paul Slauenwhite
Reassigning to feature owner. Targetting this to iteration 3 as it probably won't be completed for iteration 2. This feature was approved by PMC to be added to the 4.2 Feature Plan. Retargetting to i3 when code will be fully tested. Created attachment 39957 [details] CBELoggingAgentOutputter.java Regarding point #5 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=130774#c0), the first approach should be to log the instrumented Common Base Events to a single Logging Agent or a Logging Agent per user configurable component (e.g. package, class, application, etc.). See the attached CBELoggingAgentOutputter.java class for an example Logging Agent outputter that writes all instrumented Common Base Events to a single Logging Agent. The next approach is to provide logging instrumentation similar to the Common Base Event instrumentation. For example, using Java Logging, the user can instrument their application with logging calls to a user configurable named logger (e.g. package, class, application, etc.) that include Common Base Event instrumentation. This logging instrumentation should be done for the existing supported logging facilities (Apache Commons, Apache Log4J and JSR-047 Java Logging). Finally, there is a use case for configuration and controlling the logging instrumentation (e.g. loggers and their configuration) using the new JMX instrumentation and managed resource view(s). - Added CBE probe to CBE events to selected code - Added the CBE analysis type to the instrumentation collector - Added a filter to to select certain classes/methods to instrument. - In the CBE wizard the user can select the between three scenarios; catch, entry, and exit Verified in TPTP-4.2.0-200606190100. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=148816 for additional improvements to the Common Base Event instrumentation. |