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.
- 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.
- 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 ashost_metric_include
,host_metric_exclude
,vm_metric_include
. Use thetelegraf --input-filter vsphere --test
command to see what is being collected and if some of it is unneeded trim it out.