anchor.diff:  <% end %>
   
   # Read metrics about disk IO by device
  -[io]
  -  # no active configuration changes
  -  #
  +[[plugins.io]]
     # By default, telegraf will gather stats for all devices including
     # disk partitions.
     # Setting devices will restrict the stats to the specified devcies.
  
positive.code: 
  <% if @outputs_influxdb_enabled -%>
  # Configuration for influxdb server to send metrics to
  [outputs.influxdb]
    # The full HTTP endpoint URL for your InfluxDB instance
    # Multiple urls can be specified for InfluxDB cluster support. Server to
    # write to will be randomly chosen each interval.
  
negative.code:   # SkipSerialNumber = true
  
  # Read metrics about memory usage
  [[plugins.mem]]
    # no configuration
  
  # Read metrics about network usage
  [[plugins.net]]
    # By default, telegraf gathers stats from any up interface (excluding loopback)
    # Setting interfaces will tell it to gather these explicit interfaces,
    # regardless of status.
    #
    # interfaces = ["eth0", ... ]
    #
    # We drop not wanted icmp metrics
    drop = ["net_icmp"]
  
  # Read metrics about swap memory usage
  [[plugins.swap]]
    # no configuration
  
  # Read metrics about system load & uptime
  [[plugins.system]]
    # no configuration
  
  ###############################################################################
  #                         SERVICE PLUGINS                                     #
  ###############################################################################
  