Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector neutron plugin struct
func (*Collector) CollectMetrics ¶
func (c *Collector) CollectMetrics(metricTypes []plugin.MetricType) ([]plugin.MetricType, error)
CollectMetrics returns list of requested metric values It returns error in case retrieval was not successful
func (*Collector) GetConfigPolicy ¶
func (c *Collector) GetConfigPolicy() (*cpolicy.ConfigPolicy, error)
GetConfigPolicy returns config policy It returns error in case retrieval was not successful
func (*Collector) GetMetricTypes ¶
func (c *Collector) GetMetricTypes(cfg plugin.ConfigType) ([]plugin.MetricType, error)
GetMetricTypes returns list of available metric types It returns error in case retrieval was not successful
Click to show internal directories.
Click to hide internal directories.