monitor and adjust thread pool
- illegal-thread-sdk, report thread pool metric, update thread pool via notification, provide thread pool creation ability.
- illegal-thread-meta, provide thread pool info, collect thread pool metric and do alarm, and notify config change.
- illegal-thread-admin, view and manage thread pool info.
- sdk side
1.1 it provides customized thread pool creator
1.2 report thread pool runtime meta data to server - server side
2.1 it collect reported meta data, and can do alert according to configuration threshold
2.2 user can modify thread pool param, and these changes can be applied to application's thread pool
- collecting data from BlockingQueue/ThreadPool, then emit to Pipeline,
- then CollectMetricTask fetch data from Pipeline,
- and making calculation, and emit data and reportData to Pipeline,
- then CollectAlarmTask and ReportMetricTask fetch their interested data from Pipeline.