Commit Graph

12 Commits

Author SHA1 Message Date
yushuangyu b004dc4c61 1. add kafka metrics collector
2. change Sample funcs from package inputs to types to avoid cycle imports
3. add runtimex.Stack to print stack detail when panic
2022-07-03 22:01:41 +08:00
Ulric Qin f2e86773e4 refactor plugin: procstat 2022-06-13 17:35:39 +08:00
Ulric Qin 0cdc0fb8aa add some alerts.json 2022-05-27 18:45:52 +08:00
Ulric Qin 6e982af96c code refactor: extract Interval struct so every plugin no need to implement function GetInterval 2022-04-29 00:02:20 +08:00
Ulric Qin e4f68e4538 rename interface method GetInputName to Prefix 2022-04-28 15:24:48 +08:00
Ulric Qin 4980450a97 refactor framework 2022-04-25 15:34:15 +08:00
Ulric Qin 59347e7b96 code refactor 2022-04-25 14:51:52 +08:00
Ulric Qin a86f6aed52 cache process for procstat 2022-04-21 22:12:19 +08:00
Ulric Qin 544aa71ba6 no gather extend metrics if len(pids) == 0 2022-04-21 18:18:17 +08:00
Ulric Qin a8b13de71a gather more metrics for procstat 2022-04-21 18:13:16 +08:00
Ulric Qin 5a78639866 support append labels for procstat 2022-04-21 16:46:46 +08:00
Ulric Qin 4af5eef048 add procstat, just statistic proc number 2022-04-21 16:39:53 +08:00