Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ ChunkSize: 256, CollectConcurrency: 8, ObjectDiscoveryInterval: 0, EnableExporterMetrics: true, }
DefaultArguments holds the default settings for the vsphere exporter
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { ChunkSize int `river:"request_chunk_size,attr,optional"` CollectConcurrency int `river:"collect_concurrency,attr,optional"` VSphereURL string `river:"vsphere_url,attr,optional"` VSphereUser string `river:"vsphere_user,attr,optional"` VSpherePass rivertypes.Secret `river:"vsphere_password,attr,optional"` ObjectDiscoveryInterval time.Duration `river:"discovery_interval,attr,optional"` EnableExporterMetrics bool `river:"enable_exporter_metrics,attr,optional"` }
Arguments controls the vsphere exporter.
func (*Arguments) Convert ¶
func (a *Arguments) Convert() *vmware_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.