|
| 1 | +# Uncomment each input as needed to test plugin |
| 2 | + |
| 3 | +## mysql |
| 4 | +#[[inputs.mysql]] |
| 5 | +# servers = ["root:telegraf@tcp(mysql:3306)/"] |
| 6 | +# gather_table_schema = true |
| 7 | +# gather_process_list = true |
| 8 | +# gather_user_statistics = true |
| 9 | +# gather_info_schema_auto_inc = true |
| 10 | +# gather_innodb_metrics = true |
| 11 | +# gather_slave_status = true |
| 12 | +# gather_binary_logs = false |
| 13 | +# gather_table_io_waits = true |
| 14 | +# gather_table_lock_waits = true |
| 15 | +# gather_index_io_waits = true |
| 16 | +# gather_event_waits = true |
| 17 | +# gather_file_events_stats = true |
| 18 | +# gather_perf_events_statements = true |
| 19 | +# interval_slow = "30m" |
| 20 | +# table_schema_databases = [] |
| 21 | +# |
| 22 | +## mariadb |
| 23 | +#[[inputs.mysql]] |
| 24 | +# servers = ["root:telegraf@tcp(maria:3306)/"] |
| 25 | +# gather_table_schema = true |
| 26 | +# gather_process_list = true |
| 27 | +# gather_user_statistics = true |
| 28 | +# gather_info_schema_auto_inc = true |
| 29 | +# gather_innodb_metrics = true |
| 30 | +# gather_slave_status = true |
| 31 | +# gather_binary_logs = false |
| 32 | +# gather_table_io_waits = true |
| 33 | +# gather_table_lock_waits = true |
| 34 | +# gather_index_io_waits = true |
| 35 | +# gather_event_waits = true |
| 36 | +# gather_file_events_stats = true |
| 37 | +# gather_perf_events_statements = true |
| 38 | +# interval_slow = "30m" |
| 39 | +# table_schema_databases = [] |
| 40 | + |
| 41 | +# percona |
| 42 | +[[inputs.mysql]] |
| 43 | + servers = ["root:telegraf@tcp(percona:3306)/"] |
| 44 | + gather_table_schema = true |
| 45 | + gather_process_list = true |
| 46 | + gather_user_statistics = true |
| 47 | + gather_info_schema_auto_inc = true |
| 48 | + gather_innodb_metrics = true |
| 49 | + gather_slave_status = true |
| 50 | + gather_binary_logs = false |
| 51 | + gather_table_io_waits = true |
| 52 | + gather_table_lock_waits = true |
| 53 | + gather_index_io_waits = true |
| 54 | + gather_event_waits = true |
| 55 | + gather_file_events_stats = true |
| 56 | + gather_perf_events_statements = true |
| 57 | + interval_slow = "30m" |
| 58 | + table_schema_databases = [] |
| 59 | + |
| 60 | +[[outputs.file]] |
| 61 | + files = ["stdout"] |
0 commit comments