Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegisterAddonCollector ¶
func MustRegisterAddonCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)
MustRegisterAddonCollector registers the addon collector at the given prometheus registry
func MustRegisterClusterCollector ¶
func MustRegisterClusterCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)
MustRegisterClusterCollector registers the cluster collector at the given prometheus registry
Types ¶
type AddonCollector ¶
type AddonCollector struct {
// contains filtered or unexported fields
}
AddonCollector exports metrics for addon resources
func (AddonCollector) Collect ¶
func (cc AddonCollector) Collect(ch chan<- prometheus.Metric)
Collect gets called by prometheus to collect the metrics
func (AddonCollector) Describe ¶
func (cc AddonCollector) Describe(ch chan<- *prometheus.Desc)
Describe returns the metrics descriptors
type ClusterCollector ¶
type ClusterCollector struct {
// contains filtered or unexported fields
}
ClusterCollector exports metrics for cluster resources
func (ClusterCollector) Collect ¶
func (cc ClusterCollector) Collect(ch chan<- prometheus.Metric)
Collect gets called by prometheus to collect the metrics
func (ClusterCollector) Describe ¶
func (cc ClusterCollector) Describe(ch chan<- *prometheus.Desc)
Describe returns the metrics descriptors
Click to show internal directories.
Click to hide internal directories.