diff --git a/README.md b/README.md index 042b64b..1ca28ca 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,6 @@ tar zcvf categraf.tar.gz categraf conf - []tomcat - []... - []promscrape -- []mysql -- []redis - []statsd - []... - []io.util \ No newline at end of file diff --git a/conf/input.mysql/mysql.toml b/conf/input.mysql/mysql.toml index 8e2fe85..2a478e0 100644 --- a/conf/input.mysql/mysql.toml +++ b/conf/input.mysql/mysql.toml @@ -1,22 +1,22 @@ # # collect interval -interval = 3 +# interval = 15 -[[instances]] -address = "127.0.0.1:3306" -username = "root" -password = "1234" +# [[instances]] +# address = "127.0.0.1:3306" +# username = "root" +# password = "1234" # # set tls=custom to enable tls # parameters = "tls=false" -extra_status_metrics = true -extra_innodb_metrics = false -gather_processlist_processes_by_state = false -gather_processlist_processes_by_user = false -gather_schema_size = true -gather_table_size = false -gather_system_table_size = false -gather_slave_status = true +# extra_status_metrics = true +# extra_innodb_metrics = false +# gather_processlist_processes_by_state = false +# gather_processlist_processes_by_user = false +# gather_schema_size = true +# gather_table_size = false +# gather_system_table_size = false +# gather_slave_status = true # # timeout # timeout_seconds = 3 @@ -25,7 +25,7 @@ gather_slave_status = true # interval_times = 1 # important! use global unique string to specify instance -labels = { instance="n9e-10.2.3.4:3306" } +# labels = { instance="n9e-10.2.3.4:3306" } ## Optional TLS Config # use_tls = false