Telegraf----采集MySQL

[[inputs.mysql]]
  # interval = "5m"
  servers = ["${username}:${password}@tcp(127.0.0.1:3306)/?tls=false"]
  metric_version = 2
  table_schema_databases = [""]
  gather_process_list = true
  gather_innodb_metrics = true
  gather_global_variables = true
  interval_slow = "30m"

 

posted @ 2022-05-06 13:46  ヾ(o◕∀◕)ノヾ  阅读(128)  评论(0编辑  收藏  举报