CaptureFramework Operation Principle
Illustration
- Capture point: supports Tomcat, MSCP, Springboot and Jetty tracking
- UAVServer singleton: a uniform capture access point
- StandardMonitor: an implementation class that captures the monitoring data. Responsible for capturing data and generating the capturing results
- MonitorElemCapHandler: a common interface for different capturing logic and capturing points, which makes different tracking logic possible
- StandardMonitorRepository: stores the structure of the captured monitoring data
- DataObserver: exposes JMX/Http interface data
Key Technologies
- JavaAssist
- Monitor capturing system
- precap/docap
Key Class and Functionality
- The runtime monitoring starts and initializes the StandardMonitor object with the DefaultMonitorSupporter class and then builds the monitoring objects into the DataStore object via CaptureFramwork
- DataStore provides the JMX/HTTP service for the upcoming MA capturing
- The handler class under the MonitorHandler package calculates and summarizes the metrics of the monitor.
DefaultMonitorSupporter Implementation