2022-02-05 06:57:51 +00:00
|
|
|
package stats
|
|
|
|
|
|
|
|
// This file contains metric names for all errors
|
|
|
|
// The naming convention is ErrorSomeThing = "error.some.thing"
|
|
|
|
const (
|
|
|
|
// volume server
|
2022-08-01 20:18:26 +00:00
|
|
|
LocalWrite = "localWrite"
|
|
|
|
ReplicatedWrite = "replicatedWrite"
|
2022-02-05 06:57:51 +00:00
|
|
|
ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
|
|
|
|
ErrorSizeMismatch = "errorSizeMismatch"
|
|
|
|
ErrorCRC = "errorCRC"
|
|
|
|
ErrorIndexOutOfRange = "errorIndexOutOfRange"
|
|
|
|
|
|
|
|
// master topology
|
|
|
|
ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
|
|
|
|
ErrorUnmarshalPairs = "errorUnmarshalPairs"
|
|
|
|
ErrorWriteToReplicas = "errorWriteToReplicas"
|
|
|
|
|
|
|
|
// master client
|
|
|
|
FailedToKeepConnected = "failedToKeepConnected"
|
|
|
|
FailedToSend = "failedToSend"
|
|
|
|
FailedToReceive = "failedToReceive"
|
|
|
|
RedirectedToleader = "redirectedToleader"
|
|
|
|
OnPeerUpdate = "onPeerUpdate"
|
|
|
|
Failed = "failed"
|
|
|
|
|
|
|
|
// filer handler
|
|
|
|
ErrorReadNotFound = "read.notfound"
|
|
|
|
ErrorReadInternal = "read.internalerror"
|
|
|
|
ErrorWriteEntry = "write.entry.failed"
|
|
|
|
ErrorReadCache = "read.cache.failed"
|
|
|
|
ErrorReadStream = "read.stream.failed"
|
|
|
|
)
|