Commit Graph

150 Commits

Author SHA1 Message Date
Ulric Qin 7c9d2ac04c code refactor 2022-04-28 22:26:43 +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
Ulric Qin 7b70e7ae0b delete tag if tagvalue is - 2022-04-28 12:29:55 +08:00
Ulric Qin 1860337c47 done code for tomcat plugin 2022-04-28 11:47:28 +08:00
Ulric Qin 9aa13e35ec add tomcat plugin framework 2022-04-28 10:14:49 +08:00
Ulric Qin f8e11ab533 comment default mysql.toml 2022-04-28 09:57:53 +08:00
Ulric Qin 10573a3b26 auto detect hostname and ip 2022-04-27 17:54:11 +08:00
Ulric Qin 6eb9723753 comment custom queries of mysql plugin 2022-04-27 17:38:08 +08:00
Ulric Qin 7f9e81eada bugfix: use sql.RawBytes instead of string for mysql row parser 2022-04-27 17:35:30 +08:00
Ulric Qin 28ddaabccb support mysql custom queries 2022-04-27 17:22:21 +08:00
Ulric Qin 16b31449d0 use scrape_use_seconds instead of scrape_use_ms 2022-04-27 16:07:36 +08:00
Ulric Qin 2c85250113 delete no use code 2022-04-27 15:55:35 +08:00
Ulric Qin 5b4110675b gather slave status 2022-04-27 15:37:41 +08:00
Ulric Qin 978e5162e3 disable gather table size by default 2022-04-27 13:32:12 +08:00
Ulric Qin 2f9c9c34ee gather table size 2022-04-27 13:28:35 +08:00
Ulric Qin 59674d645d gather schema size 2022-04-27 12:37:02 +08:00
Ulric Qin 9dbbc1c908 delete no use code 2022-04-27 11:56:13 +08:00
Ulric Qin 59001ba60d code refactor 2022-04-27 11:53:53 +08:00
Ulric Qin a3b7470349 code refactor 2022-04-27 11:48:57 +08:00
Ulric Qin 8fc15dc671 gather process list 2022-04-27 11:42:59 +08:00
Ulric Qin 20063541bb modify some default metrics for mysql plugin 2022-04-26 17:34:25 +08:00
Ulric Qin cd583ed558 add instance label 2022-04-26 17:16:40 +08:00
Ulric Qin 358a03807a add lost tags 2022-04-26 17:15:58 +08:00
Ulric Qin 3ca8f7d5ab collect binlog 2022-04-26 17:04:51 +08:00
Ulric Qin c931747a58 default collect innodb_log_waits 2022-04-26 16:18:42 +08:00
Ulric Qin fec1083274 add innodb_buffer_pool_size and open_files_limit 2022-04-26 16:07:43 +08:00
Ulric Qin 339cec1c05 collect uptime of mysql 2022-04-26 15:29:58 +08:00
Ulric Qin 5674713c3a add ntp server 2022-04-26 15:18:13 +08:00
Ulric Qin 98be7fca67 code refactor 2022-04-26 14:24:52 +08:00
Ulric Qin ec045ce8e4 fix mysql plugin: push metrics to queue 2022-04-26 14:23:49 +08:00
Ulric Qin 3bbfe54b45 code refactor 2022-04-26 14:18:43 +08:00
Ulric Qin e910de2cc1 code refactor 2022-04-26 14:10:22 +08:00
Ulric Qin d10f67c1e3 compute some innodb metrics 2022-04-26 14:02:26 +08:00
Ulric Qin f5bcc36e9e add engine_innodb_status gather 2022-04-26 13:33:47 +08:00
Ulric Qin e8b00fa832 collect mysql global variables 2022-04-26 12:27:49 +08:00
Ulric Qin 7428929fe4 code refactor 2022-04-26 11:49:00 +08:00
Ulric Qin 8411a60f64 register mysql plugin 2022-04-26 11:39:56 +08:00
Ulric Qin fd1b4aaad8 init mysql plugin 2022-04-26 11:00:26 +08:00
Ulric Qin 84bcff5987 code refactor 2022-04-25 16:49:37 +08:00
Ulric Qin 11ead55c91 code refactor 2022-04-25 16:36:13 +08:00
UlricQin 3a9299c305 fix build on linux 2022-04-25 15:37:45 +08:00
Ulric Qin 4980450a97 refactor framework 2022-04-25 15:34:15 +08:00
Ulric Qin 9b11b6a799 Merge branch 'main' of github.com:flashcatcloud/categraf 2022-04-25 14:52:26 +08:00
Ulric Qin 59347e7b96 code refactor 2022-04-25 14:51:52 +08:00
Ulric Qin 9966840114 code refactor 2022-04-25 12:08:56 +08:00
Ulric Qin 640f10b396 add pkg prom func: ValidName 2022-04-25 12:06:58 +08:00
Ulric Qin e960033b53 code refactor: rename var 2022-04-25 11:47:41 +08:00