Documentation ¶
Index ¶
- func DeleteDataImportCronOutdated(labels prometheus.Labels) int
- func DeleteStorageProfileStatus(labels prometheus.Labels) int
- func GetStorageProfileStatus(labels prometheus.Labels) float64
- func ListMetrics() []operatormetrics.Metric
- func SetDataImportCronOutdated(labels prometheus.Labels, isOutdated bool)
- func SetDataVolumePending(value int)
- func SetStorageProfileStatus(labels prometheus.Labels, status int)
- func SetupMetrics() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDataImportCronOutdated ¶
func DeleteDataImportCronOutdated(labels prometheus.Labels) int
DeleteDataImportCronOutdated deletes metrics by their labels, and return the number of deleted metrics
func DeleteStorageProfileStatus ¶
func DeleteStorageProfileStatus(labels prometheus.Labels) int
DeleteStorageProfileStatus deletes metrics by their labels, and return the number of deleted metrics
func GetStorageProfileStatus ¶
func GetStorageProfileStatus(labels prometheus.Labels) float64
GetStorageProfileStatus returns the storageProfileStatus value
func ListMetrics ¶
func ListMetrics() []operatormetrics.Metric
ListMetrics registered prometheus metrics
func SetDataImportCronOutdated ¶
func SetDataImportCronOutdated(labels prometheus.Labels, isOutdated bool)
SetDataImportCronOutdated sets dataImportCronOutdated value
func SetDataVolumePending ¶
func SetDataVolumePending(value int)
SetDataVolumePending sets dataVolumePending value
func SetStorageProfileStatus ¶
func SetStorageProfileStatus(labels prometheus.Labels, status int)
SetStorageProfileStatus sets storageProfileStatus value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.