Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultConfig = Config{ ChunkSize: 256, CollectConcurrency: 8, ObjectDiscoveryInterval: 0, EnableExporterMetrics: true, }
DefaultConfig holds non-zero default options for hte Config when it is unmarshaled from YAML.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
	ChunkSize               int                `yaml:"request_chunk_size,omitempty"`
	CollectConcurrency      int                `yaml:"collect_concurrency,omitempty"`
	VSphereURL              string             `yaml:"vsphere_url,omitempty"`
	VSphereUser             string             `yaml:"vsphere_user,omitempty"`
	VSpherePass             config_util.Secret `yaml:"vsphere_password,omitempty"`
	ObjectDiscoveryInterval time.Duration      `yaml:"discovery_interval,omitempty"`
	EnableExporterMetrics   bool               `yaml:"enable_exporter_metrics,omitempty"`
}
    Config configures the vmware_exporter integration.
func (*Config) InstanceKey ¶
InstanceKey returns a string that identifies the instance of the integration.
func (*Config) NewIntegration ¶
func (c *Config) NewIntegration(log log.Logger) (integrations.Integration, error)
New creates a new instance of this integration.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements the Unmarshaler interface.
 Click to show internal directories. 
   Click to hide internal directories.