Documentation ¶
Overview ¶
Copyright The OpenTelemetry Authors SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const ( VSANQueryTypeClusters vSANQueryType = "cluster-domclient:*" VSANQueryTypeHosts vSANQueryType = "host-domclient:*" VSANQueryTypeVirtualMachines vSANQueryType = "virtual-machine:*" )
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory returns the receiver factory for the vcenterreceiver
Types ¶
type Config ¶
type Config struct { scraperhelper.ControllerConfig `mapstructure:",squash"` configtls.ClientConfig `mapstructure:"tls,omitempty"` metadata.MetricsBuilderConfig `mapstructure:",squash"` Endpoint string `mapstructure:"endpoint"` Username string `mapstructure:"username"` Password configopaque.String `mapstructure:"password"` }
Config is the configuration of the receiver
type DatacenterStats ¶
type PerfMetricsQueryResult ¶
type PerfMetricsQueryResult struct {
// contains filtered or unexported fields
}
PerfMetricsQueryResult contains performance metric related data
type VSANMetricDetails ¶
type VSANMetricDetails struct { // Contains the metric label MetricLabel string // Contains the metric interval in seconds Interval int32 // Contains timestamps for all metric values Timestamps []*time.Time // Contains all values for vSAN metric label Values []int64 }
VSANMetricDetails contains vSAN metric data for a single metric
type VSANMetricResults ¶
type VSANMetricResults struct { // Contains UUID info for related resource UUID string // Contains returned metric value info for all metrics MetricDetails []*VSANMetricDetails }
VSANMetricResults contains vSAN metric related data for a single resource
type VSANQueryResults ¶
type VSANQueryResults struct { // Contains vSAN metric data keyed by UUID string MetricResultsByUUID map[string]*VSANMetricResults }
VSANQueryResults contains all returned vSAN metric related data
Source Files ¶
Click to show internal directories.
Click to hide internal directories.