PolarDB-NodeAgent is a light-weight and flexible agent for data collection, which supports performance data collection from hosts and instances. It is a plug-in process running on physical machines or virtual machines, collecting performance data every second and real-time logs of all the instances (both containerized instances and non-containerized instances) on the machine.
PolarDB-NodeAgent has been tested in real projects on Alibaba Cloud.
- Flexible, quick and easy to access
- Light-weight with low resource occupation
- Strong robustness
- Adopts mechanism of plug-in and supports writing codes of plug-in by Plugin and Lua. If you want to apply PolarDB-NodeAgent to your application, you only need to write three functions.
- Provides mechanism of plug-in orchestration and reusage. The code can be used by multiple applications after simple configuration, so that PolarDB-NodeAgent can be applied in different applications.
- Strong robustness. The performance data of each application on each instance will be collected by independent goroutine. This realizes isolation and retry on failure of collection threads.