Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUpgradeCollector ¶
func NewUpgradeCollector(c client.Client) (prometheus.Collector, error)
NewUpgradeCollector constructs a new UpgradeCollector and return to caller.
Types ¶
type UpgradeCollector ¶
type UpgradeCollector struct {
// contains filtered or unexported fields
}
UpgradeCollector is implementing prometheus.Collector interface.
func (*UpgradeCollector) Collect ¶
func (uc *UpgradeCollector) Collect(ch chan<- prometheus.Metric)
Collect is method required to implement the prometheus.Collector(prometheus/client_golang/prometheus/collector.go) interface.
func (*UpgradeCollector) Describe ¶
func (uc *UpgradeCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
type UpgradeMetrics ¶
type UpgradeMetrics struct {
// contains filtered or unexported fields
}
UpgradeMetrics holds fields that contain upgrade metrics required to report during an upgrade.
Click to show internal directories.
Click to hide internal directories.