Documentation ¶
Index ¶
Constants ¶
View Source
const ( TotalQueriesMetricName = "query_total" ListingNodesAction = "listing_nodes" ListingPVCsAction = "listing_pvc" ListingSVCsAction = "listing_svc" )
Variables ¶
View Source
var ( TotalQueriesMetric = promauto.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Subsystem: subsystem, Name: TotalQueriesMetricName, Help: "Total number of queries to SKR to get the metrics of the cluster.", }, []string{actionLabel, successLabel, shootNameLabel, instanceIdLabel, runtimeIdLabel, subAccountLabel, globalAccountLabel}, ) )
Functions ¶
func DeleteMetrics ¶
DeleteMetrics deletes all the metrics for the provided shoot. Returns true if some metrics are deleted, returns false if no metrics are deleted for that subAccount.
func SetupScheme ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.