collector

package
v0.0.0-...-d89feaf Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHPAMetrics

ParseHPAMetrics parses the HPA object into a list of metric configurations.

Types

type CollectorFactory

type CollectorFactory struct {
	// contains filtered or unexported fields
}

func NewCollectorFactory

func NewCollectorFactory() *CollectorFactory

func (*CollectorFactory) RegisterExternalCollector

func (c *CollectorFactory) RegisterExternalCollector(metrics []string, plugin collectorclient.CollectorPlugin)

func (*CollectorFactory) RegisterObjectCollector

func (c *CollectorFactory) RegisterObjectCollector(kind, metricCollector string, plugin collectorclient.CollectorPlugin) error

func (*CollectorFactory) RegisterPodsCollector

func (c *CollectorFactory) RegisterPodsCollector(metricCollector string, plugin collectorclient.CollectorPlugin) error

type ObjectReference

type ObjectReference struct {
	autoscalingv2.CrossVersionObjectReference
	Namespace string
}

Jump to

Keyboard shortcuts

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