Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsCollector ¶
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
Click to show internal directories.
Click to hide internal directories.