metrics

package
v0.0.0-...-3cf8ccf Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsCollector

type MetricsCollector struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewMetricsCollector

func NewMetricsCollector(name string, cli client.Client) *MetricsCollector

func (*MetricsCollector) Collect

func (c *MetricsCollector) Collect(ch chan<- prometheus.Metric)

func (*MetricsCollector) Describe

func (c *MetricsCollector) Describe(ch chan<- *prometheus.Desc)

func (*MetricsCollector) RegisterResource

func (c *MetricsCollector) RegisterResource(objList client.ObjectList) error

Jump to

Keyboard shortcuts

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