vsphere

package
v0.37.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL