Telegraf-Vsphere

So it is just taking 7 minutes to do a full collection. There are a two ways to reduce the amount of time this takes, try one change a time and watch how it effects the time between points after each change.

  1. You can increase the collect_concurrency, you may want to set this to ~4. This will allow the plugin to make multiple requests to vCenter at the same time.
  2. You can decrease the number of metrics gathered. This can be done either by setting the instance, cluster_instances, datastore_instances, etc to false. You can also restrict the metrics gathered by using the include/exclude options such as host_metric_include, host_metric_exclude, vm_metric_include. Use the telegraf --input-filter vsphere --test command to see what is being collected and if some of it is unneeded trim it out.