Health Manager
HM Architecture
1. Overall Architecture and Characteristics
HM(Health Manager) is a comprehensive service center that supports the processing of monitoring data, profile data, runtime notification data and log data. It calculates and processes all data in UAVStack and provides related service support. Below is the overall architecture of HM:
Characteristics of HM include:
- HM is a deployable JAVA MAIN process program
- Each HM integrates multiple features. Each feature is with a single responsibility. Users shall customize a HM by integrating features needed by the business
- HM can be deployed on different hosts based on the needs of users, forming an HM cluster
- HM's service interface is visible to the higher architecture level (business and other systems).
2. HM Workflow
Below are the overall workflow of HM:
In UAVStack, MA collects the monitor data and profile data (except the heartbeat data) and delivers the data to the information middleware RocketMQ. Each feature in HM consumes its corresponding data and persists the data into different databases based on the message type. For instance, the monitoring server shall consume the monitor data in RocketMQ and persist the data into OpenTSDB while the profile data shall consume the profile data and persist the data into MongoDB. Detailed HM workflow shall be illustrated in the following chapters. HM shall expose Http server interfaces, with which AppHub shall query and display data. External systems could access the monitoring data with such interfaces.