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
kongfei aaf201b9d2 support env var for prom instances 2022-06-28 11:34:08 +08:00
Ulric Qin 8a4afb4ea2 support template for prometheus label value 2022-06-10 13:10:31 +08:00
Ulric Qin e2640c083b prometheus plugin: support get scrape urls from consul 2022-06-09 18:53:25 +08:00
Ulric Qin 888e685d11 add name prefix for plugin prometheus 2022-05-30 08:09:06 +08:00
Ulric Qin e321f1fd53 prometheus plugin support read bearer token file 2022-05-18 12:51:49 +08:00
Ulric Qin 343c0eccfd prometheus plugin: support ignore_label_keys configuration 2022-05-06 11:20:03 +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 3699e1b4a5 scrape semple /metrics 2022-04-28 22:19:40 +08:00
Ulric Qin 17b16a7589 support ignore_metrics filter 2022-04-28 16:11:51 +08:00
Ulric Qin e4f68e4538 rename interface method GetInputName to Prefix 2022-04-28 15:24:48 +08:00
Ulric Qin 316c4a75e7 add prometheus plugin skelton 2022-04-28 15:20:57 +08:00