Documentation ¶
Index ¶
- Constants
- func GetHashId(s string, maxInt int) int
- func ReportHandlerDiscardEvents(clusterID, handler string)
- func ReportHandlerQueueLength(clusterID, handler string, len float64)
- func ReportHandlerQueueLengthDec(clusterID, handler string)
- func ReportHandlerQueueLengthInc(clusterID, handler string)
- func ReportStorageMetrics(clusterID, datatype, action, handler, status string, started time.Time)
- func ReportSyncTotal(clusterID, datatype, action, status string)
Constants ¶
View Source
const ( // StatusFailure for api failure StatusFailure = "failure" // StatusSuccess for api success StatusSuccess = "success" )
View Source
const (
// BkBcsMesosWatch for bcs-mesos-watch module metrics prefix
BkBcsMesosWatch = "bkbcs_mesoswatch"
)
Variables ¶
This section is empty.
Functions ¶
func ReportHandlerDiscardEvents ¶ added in v0.20.13
func ReportHandlerDiscardEvents(clusterID, handler string)
ReportHandlerDiscardEvents report handler discard events num
func ReportHandlerQueueLength ¶ added in v0.20.13
ReportHandlerQueueLength report handler queue len
func ReportHandlerQueueLengthDec ¶ added in v0.20.13
func ReportHandlerQueueLengthDec(clusterID, handler string)
ReportHandlerQueueLengthDec dec queue len
func ReportHandlerQueueLengthInc ¶ added in v0.20.13
func ReportHandlerQueueLengthInc(clusterID, handler string)
ReportHandlerQueueLengthInc inc queue len
func ReportStorageMetrics ¶ added in v0.20.13
ReportStorageMetrics report bcs-storage metrics
func ReportSyncTotal ¶ added in v0.20.13
func ReportSyncTotal(clusterID, datatype, action, status string)
ReportSyncTotal report sync event counter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.