2022-02-05 14:57:51 +08:00
|
|
|
package stats
|
|
|
|
|
|
|
|
// This file contains metric names for all errors
|
|
|
|
// The naming convention is ErrorSomeThing = "error.some.thing"
|
|
|
|
const (
|
|
|
|
// volume server
|
2022-08-02 04:29:44 +08:00
|
|
|
WriteToLocalDisk = "writeToLocalDisk"
|
|
|
|
WriteToReplicas = "writeToReplicas"
|
2022-02-05 14:57:51 +08:00
|
|
|
ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
|
|
|
|
ErrorSizeMismatch = "errorSizeMismatch"
|
|
|
|
ErrorCRC = "errorCRC"
|
|
|
|
ErrorIndexOutOfRange = "errorIndexOutOfRange"
|
2023-11-27 03:47:20 +08:00
|
|
|
ErrorGetNotFound = "errorGetNotFound"
|
|
|
|
ErrorGetInternal = "errorGetInternal"
|
2022-02-05 14:57:51 +08:00
|
|
|
|
|
|
|
// master topology
|
|
|
|
ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
|
|
|
|
ErrorUnmarshalPairs = "errorUnmarshalPairs"
|
|
|
|
ErrorWriteToReplicas = "errorWriteToReplicas"
|
|
|
|
|
|
|
|
// master client
|
|
|
|
FailedToKeepConnected = "failedToKeepConnected"
|
|
|
|
FailedToSend = "failedToSend"
|
|
|
|
FailedToReceive = "failedToReceive"
|
2022-08-04 16:44:54 +08:00
|
|
|
RedirectedToLeader = "redirectedToLeader"
|
2022-02-05 14:57:51 +08:00
|
|
|
OnPeerUpdate = "onPeerUpdate"
|
|
|
|
Failed = "failed"
|
|
|
|
|
|
|
|
// filer handler
|
2022-08-04 16:44:54 +08: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"
|
2024-03-29 15:38:27 +08:00
|
|
|
ErrorChunkAssign = "chunkAssign.failed"
|
2024-04-15 01:41:32 +08:00
|
|
|
ErrorReadChunk = "read.chunk.failed"
|
2022-08-04 16:44:54 +08:00
|
|
|
ErrorReadCache = "read.cache.failed"
|
|
|
|
ErrorReadStream = "read.stream.failed"
|
2024-04-07 01:56:39 +08:00
|
|
|
|
|
|
|
// s3 handler
|
|
|
|
ErrorCompletedNoSuchUpload = "errorCompletedNoSuchUpload"
|
2024-04-08 02:52:35 +08:00
|
|
|
ErrorCompleteEntityTooSmall = "errorCompleteEntityTooSmall"
|
|
|
|
ErrorCompletedPartEmpty = "errorCompletedPartEmpty"
|
|
|
|
ErrorCompletedPartNumber = "errorCompletedPartNumber"
|
2024-04-07 01:56:39 +08:00
|
|
|
ErrorCompletedPartNotFound = "errorCompletedPartNotFound"
|
|
|
|
ErrorCompletedEtagInvalid = "errorCompletedEtagInvalid"
|
|
|
|
ErrorCompletedEtagMismatch = "errorCompletedEtagMismatch"
|
|
|
|
ErrorCompletedPartEntryMismatch = "errorCompletedPartEntryMismatch"
|
2022-02-05 14:57:51 +08:00
|
|
|
)
|