Documentation ¶
Index ¶
Constants ¶
View Source
const CLUSTERADMIN_DB = "clusteradmin"
Variables ¶
This section is empty.
Functions ¶
func CollectDBSize ¶
func CollectDBSize(gauge *prometheus.GaugeVec) error
func DeleteHealthCheck ¶
func InsertHealthCheck ¶
func InsertHealthCheck(dbConn *sql.DB, hc HealthCheck) (int, error)
Types ¶
type HealthCheck ¶
type HealthCheck struct { ID string ProjectName string ProjectID string ContainerName string ContainerID string ContainerRole string ContainerImage string Status string UpdateDate string }
func GetHealthCheck ¶
func GetHealthCheck(dbConn *sql.DB) ([]HealthCheck, error)
type Metric ¶
func Collectcpu ¶
last minute load average of all cpu(s) range returned is 0.00 - 0.99
func Collectmem ¶
percent memory utilization range returned is 1-100
Click to show internal directories.
Click to hide internal directories.