Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfoCollector ¶ added in v1.9.0
ClusterInfoCollector is a Prometheus collector that collects cluster info metrics.
func (*ClusterInfoCollector) Collect ¶ added in v1.9.0
func (m *ClusterInfoCollector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector. Iterates over all clusters and sends cluster information for each cluster.
func (*ClusterInfoCollector) Describe ¶ added in v1.9.0
func (*ClusterInfoCollector) Describe(chan<- *prometheus.Desc)
Describe implements prometheus.Collector. Sends the descriptors of the metrics to the channel.
type CompileMetaCollector ¶
CompileMetaCollector is a Prometheus collector that translates the `status.compileMeta` field of the Cluster CRD into Prometheus metrics.
func (*CompileMetaCollector) Collect ¶
func (m *CompileMetaCollector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector. Iterates over all clusters and sends compileMeta metrics for each cluster.
func (*CompileMetaCollector) Describe ¶
func (*CompileMetaCollector) Describe(_ chan<- *prometheus.Desc)
Describe implements prometheus.Collector. This collector does not send any descriptions and thus makes the collector unchecked. An unchecked collector is needed because the commodore build info metric is dynamic and has no static description.
type TenantInfoCollector ¶ added in v1.9.0
TenantInfoCollector is a Prometheus collector that collects tenant info metrics.
func (*TenantInfoCollector) Collect ¶ added in v1.9.0
func (m *TenantInfoCollector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector. Iterates over all tenants and sends tenant information for each tenant.
func (*TenantInfoCollector) Describe ¶ added in v1.9.0
func (*TenantInfoCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements prometheus.Collector. Sends the descriptors of the metrics to the channel.