anchor.diff:    ## Some queries we may want to run less often (such as SHOW GLOBAL VARIABLES)
     interval_slow                   = "30m"
     [inputs.mysql.tags]
  -    server_name = "<%= config_file['mysql'].first.split(/[()]/)[1].split(":").first %>"
  +    server_name = "<%= server_url.split(/[()]/)[1].split(":").first %>"
   <% end %>
   
   
  
positive.code:   ##    root@tcp(127.0.0.1:3306)/?tls=false
    #
    ## If no servers are specified, then localhost is used as the host.
    servers = <%= config_file['mysql'] %>
    tagexclude = ["server", "host"]
    fieldpass = ["queries", "bytes_sent", "bytes_received", "connections", "slow_queries"]
    namedrop = ["mysql_users*"]
  
negative.code: #   servers = ["127.0.0.1:27017"]
  
  
  <% config_file['mysql'].each do |server_url| %>
  # # Read metrics from one or many mysql servers
  [[inputs.mysql]]
    ## specify servers via a url matching:
  