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:29:44 +00:00
|
|
|
WriteToLocalDisk = "writeToLocalDisk"
|
|
|
|
WriteToReplicas = "writeToReplicas"
|
2022-02-05 06:57:51 +00:00
|
|
|
ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
|
|
|
|
ErrorSizeMismatch = "errorSizeMismatch"
|
|
|
|
ErrorCRC = "errorCRC"
|
|
|
|
ErrorIndexOutOfRange = "errorIndexOutOfRange"
|
2023-11-26 19:47:20 +00:00
|
|
|
ErrorGetNotFound = "errorGetNotFound"
|
|
|
|
ErrorGetInternal = "errorGetInternal"
|
2022-02-05 06:57:51 +00:00
|
|
|
|
|
|
|
// master topology
|
|
|
|
ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
|
|
|
|
ErrorUnmarshalPairs = "errorUnmarshalPairs"
|
|
|
|
ErrorWriteToReplicas = "errorWriteToReplicas"
|
|
|
|
|
|
|
|
// master client
|
|
|
|
FailedToKeepConnected = "failedToKeepConnected"
|
|
|
|
FailedToSend = "failedToSend"
|
|
|
|
FailedToReceive = "failedToReceive"
|
2022-08-04 08:44:54 +00:00
|
|
|
RedirectedToLeader = "redirectedToLeader"
|
2022-02-05 06:57:51 +00:00
|
|
|
OnPeerUpdate = "onPeerUpdate"
|
|
|
|
Failed = "failed"
|
|
|
|
|
|
|
|
// filer handler
|
2022-08-04 08:44:54 +00:00
|
|
|
DirList = "dirList"
|
|
|
|
ContentSaveToFiler = "contentSaveToFiler"
|
|
|
|
AutoChunk = "autoChunk"
|
|
|
|
ChunkProxy = "chunkProxy"
|
|
|
|
ChunkAssign = "chunkAssign"
|
|
|
|
ChunkUpload = "chunkUpload"
|
|
|
|
ChunkDoUploadRetry = "chunkDoUploadRetry"
|
|
|
|
ChunkUploadRetry = "chunkUploadRetry"
|
|
|
|
ChunkAssignRetry = "chunkAssignRetry"
|
|
|
|
ErrorReadNotFound = "read.notfound"
|
|
|
|
ErrorReadInternal = "read.internal.error"
|
|
|
|
ErrorWriteEntry = "write.entry.failed"
|
|
|
|
RepeatErrorUploadContent = "upload.content.repeat.failed"
|
|
|
|
ErrorReadCache = "read.cache.failed"
|
|
|
|
ErrorReadStream = "read.stream.failed"
|
2022-02-05 06:57:51 +00:00
|
|
|
)
|