Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CoordinatorChangesCounter counts the total number of coordinator changes. CoordinatorChangesCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "fdb_operator_coordinator_changes_total", Help: "Total number of coordinator changes performed on the cluster", }, descClusterDefaultLabels, ) // DescClusterCreated stores the creation time of the cluster. DescClusterCreated = prometheus.NewDesc( "fdb_operator_cluster_created_time", "Creation time in unix timestamp for Fdb Cluster.", descClusterDefaultLabels, nil, ) // DescClusterStatus stores status metrics. DescClusterStatus = prometheus.NewDesc( "fdb_operator_cluster_status", "status of the Fdb Cluster.", append(descClusterDefaultLabels, "status_type"), nil, ) )
Functions ¶
func CollectMetrics ¶
func CollectMetrics(ch chan<- prometheus.Metric, cluster *fdbv1beta2.FoundationDBCluster)
CollectMetrics will collect the metrics for the provided fdbv1beta2.FoundationDBCluster and update all related metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.