From c61c48e10b443358bf6bb7725da6dd8b466ad1a2 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 11 Mar 2019 12:31:48 -0700 Subject: [PATCH] Remove trailing whitespace and wordwrap readme in vsphere --- plugins/inputs/vsphere/vsphere.go | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/plugins/inputs/vsphere/vsphere.go b/plugins/inputs/vsphere/vsphere.go index 852dd5e25..d64b5273d 100644 --- a/plugins/inputs/vsphere/vsphere.go +++ b/plugins/inputs/vsphere/vsphere.go @@ -90,7 +90,7 @@ var sampleConfig = ` "net.droppedRx.summation", "net.droppedTx.summation", "net.usage.average", - "power.power.average", + "power.power.average", "virtualDisk.numberReadAveraged.average", "virtualDisk.numberWriteAveraged.average", "virtualDisk.read.average", @@ -105,7 +105,7 @@ var sampleConfig = ` # vm_metric_exclude = [] ## Nothing is excluded by default # vm_instances = true ## true by default - ## Hosts + ## Hosts ## Typical host metrics (if omitted or empty, all metrics are collected) host_metric_include = [ "cpu.coreUtilization.average", @@ -158,12 +158,12 @@ var sampleConfig = ` # host_metric_exclude = [] ## Nothing excluded by default # host_instances = true ## true by default - ## Clusters + ## Clusters # cluster_metric_include = [] ## if omitted or empty, all metrics are collected # cluster_metric_exclude = [] ## Nothing excluded by default # cluster_instances = false ## false by default - ## Datastores + ## Datastores # datastore_metric_include = [] ## if omitted or empty, all metrics are collected # datastore_metric_exclude = [] ## Nothing excluded by default # datastore_instances = false ## false by default for Datastores only @@ -173,7 +173,7 @@ var sampleConfig = ` datacenter_metric_exclude = [ "*" ] ## Datacenters are not collected by default. # datacenter_instances = false ## false by default for Datastores only - ## Plugin Settings + ## Plugin Settings ## separator character to use for measurement and field names (default: "_") # separator = "_" @@ -200,10 +200,12 @@ var sampleConfig = ` ## timeout applies to any of the api request made to vcenter # timeout = "60s" - ## When set to true, all samples are sent as integers. This makes the output data types backwards compatible - ## with Telegraf 1.9 or lower. Normally all samples from vCenter, with the exception of percentages, are - ## integer values, but under some conditions, some averaging takes place internally in the plugin. Setting this - ## flag to "false" will send values as floats to preserve the full precision when averaging takes place. + ## When set to true, all samples are sent as integers. This makes the output + ## data types backwards compatible with Telegraf 1.9 or lower. Normally all + ## samples from vCenter, with the exception of percentages, are integer + ## values, but under some conditions, some averaging takes place internally in + ## the plugin. Setting this flag to "false" will send values as floats to + ## preserve the full precision when averaging takes place. # use_int_samples = true ## Optional SSL Config