comment default mysql.toml

This commit is contained in:
Ulric Qin 2022-04-28 09:57:53 +08:00
parent 10573a3b26
commit f8e11ab533
2 changed files with 14 additions and 16 deletions

View File

@ -22,8 +22,6 @@ tar zcvf categraf.tar.gz categraf conf
- []tomcat - []tomcat
- []... - []...
- []promscrape - []promscrape
- []mysql
- []redis
- []statsd - []statsd
- []... - []...
- []io.util - []io.util

View File

@ -1,22 +1,22 @@
# # collect interval # # collect interval
interval = 3 # interval = 15
[[instances]] # [[instances]]
address = "127.0.0.1:3306" # address = "127.0.0.1:3306"
username = "root" # username = "root"
password = "1234" # password = "1234"
# # set tls=custom to enable tls # # set tls=custom to enable tls
# parameters = "tls=false" # parameters = "tls=false"
extra_status_metrics = true # extra_status_metrics = true
extra_innodb_metrics = false # extra_innodb_metrics = false
gather_processlist_processes_by_state = false # gather_processlist_processes_by_state = false
gather_processlist_processes_by_user = false # gather_processlist_processes_by_user = false
gather_schema_size = true # gather_schema_size = true
gather_table_size = false # gather_table_size = false
gather_system_table_size = false # gather_system_table_size = false
gather_slave_status = true # gather_slave_status = true
# # timeout # # timeout
# timeout_seconds = 3 # timeout_seconds = 3
@ -25,7 +25,7 @@ gather_slave_status = true
# interval_times = 1 # interval_times = 1
# important! use global unique string to specify instance # 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 ## Optional TLS Config
# use_tls = false # use_tls = false