62 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
# Uncomment each input as needed to test plugin
 | 
						|
 | 
						|
## mysql
 | 
						|
#[[inputs.mysql]]
 | 
						|
#  servers = ["root:telegraf@tcp(mysql:3306)/"]
 | 
						|
#  gather_table_schema = true
 | 
						|
#  gather_process_list = true
 | 
						|
#  gather_user_statistics = true
 | 
						|
#  gather_info_schema_auto_inc = true
 | 
						|
#  gather_innodb_metrics = true
 | 
						|
#  gather_slave_status = true
 | 
						|
#  gather_binary_logs = false
 | 
						|
#  gather_table_io_waits = true
 | 
						|
#  gather_table_lock_waits = true
 | 
						|
#  gather_index_io_waits = true
 | 
						|
#  gather_event_waits = true
 | 
						|
#  gather_file_events_stats = true
 | 
						|
#  gather_perf_events_statements = true
 | 
						|
#  interval_slow = "30m"
 | 
						|
#  table_schema_databases = []
 | 
						|
#
 | 
						|
## mariadb
 | 
						|
#[[inputs.mysql]]
 | 
						|
#  servers = ["root:telegraf@tcp(maria:3306)/"]
 | 
						|
#  gather_table_schema = true
 | 
						|
#  gather_process_list = true
 | 
						|
#  gather_user_statistics = true
 | 
						|
#  gather_info_schema_auto_inc = true
 | 
						|
#  gather_innodb_metrics = true
 | 
						|
#  gather_slave_status = true
 | 
						|
#  gather_binary_logs = false
 | 
						|
#  gather_table_io_waits = true
 | 
						|
#  gather_table_lock_waits = true
 | 
						|
#  gather_index_io_waits = true
 | 
						|
#  gather_event_waits = true
 | 
						|
#  gather_file_events_stats = true
 | 
						|
#  gather_perf_events_statements = true
 | 
						|
#  interval_slow = "30m"
 | 
						|
#  table_schema_databases = []
 | 
						|
 | 
						|
# percona
 | 
						|
[[inputs.mysql]]
 | 
						|
  servers = ["root:telegraf@tcp(percona:3306)/"]
 | 
						|
  gather_table_schema = true
 | 
						|
  gather_process_list = true
 | 
						|
  gather_user_statistics = true
 | 
						|
  gather_info_schema_auto_inc = true
 | 
						|
  gather_innodb_metrics = true
 | 
						|
  gather_slave_status = true
 | 
						|
  gather_binary_logs = false
 | 
						|
  gather_table_io_waits = true
 | 
						|
  gather_table_lock_waits = true
 | 
						|
  gather_index_io_waits = true
 | 
						|
  gather_event_waits = true
 | 
						|
  gather_file_events_stats = true
 | 
						|
  gather_perf_events_statements = true
 | 
						|
  interval_slow = "30m"
 | 
						|
  table_schema_databases = []
 | 
						|
 | 
						|
[[outputs.file]]
 | 
						|
  files = ["stdout"]
 |