mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-30 23:29:02 +08:00
33537ae29f
* try fix s3 test_multipart_get_part * add passed s3 tests * fix SeaweedFSUploadId * rm spaces * convert part request to range * add passed s3 tests of multipart
58 lines
2.3 KiB
Go
58 lines
2.3 KiB
Go
package stats
|
|
|
|
// This file contains metric names for all errors
|
|
// The naming convention is ErrorSomeThing = "error.some.thing"
|
|
const (
|
|
// volume server
|
|
WriteToLocalDisk = "writeToLocalDisk"
|
|
WriteToReplicas = "writeToReplicas"
|
|
ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
|
|
ErrorSizeMismatch = "errorSizeMismatch"
|
|
ErrorCRC = "errorCRC"
|
|
ErrorIndexOutOfRange = "errorIndexOutOfRange"
|
|
ErrorGetNotFound = "errorGetNotFound"
|
|
ErrorGetInternal = "errorGetInternal"
|
|
|
|
// master topology
|
|
ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
|
|
ErrorUnmarshalPairs = "errorUnmarshalPairs"
|
|
ErrorWriteToReplicas = "errorWriteToReplicas"
|
|
|
|
// master client
|
|
FailedToKeepConnected = "failedToKeepConnected"
|
|
FailedToSend = "failedToSend"
|
|
FailedToReceive = "failedToReceive"
|
|
RedirectedToLeader = "redirectedToLeader"
|
|
OnPeerUpdate = "onPeerUpdate"
|
|
Failed = "failed"
|
|
|
|
// filer handler
|
|
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"
|
|
ErrorChunkAssign = "chunkAssign.failed"
|
|
ErrorReadChunk = "read.chunk.failed"
|
|
ErrorReadCache = "read.cache.failed"
|
|
ErrorReadStream = "read.stream.failed"
|
|
|
|
// s3 handler
|
|
ErrorCompletedNoSuchUpload = "errorCompletedNoSuchUpload"
|
|
ErrorCompleteEntityTooSmall = "errorCompleteEntityTooSmall"
|
|
ErrorCompletedPartEmpty = "errorCompletedPartEmpty"
|
|
ErrorCompletedPartNumber = "errorCompletedPartNumber"
|
|
ErrorCompletedPartNotFound = "errorCompletedPartNotFound"
|
|
ErrorCompletedEtagInvalid = "errorCompletedEtagInvalid"
|
|
ErrorCompletedEtagMismatch = "errorCompletedEtagMismatch"
|
|
ErrorCompletedPartEntryMismatch = "errorCompletedPartEntryMismatch"
|
|
)
|