mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 03:53:34 +08:00
refactor FilerRequest metrics (#3402)
* refactor FilerRequest metrics * avoid double count proxy * defer to
This commit is contained in:

committed by
GitHub

parent
bd13a7968f
commit
22181dd018
@@ -20,14 +20,24 @@ const (
|
||||
FailedToKeepConnected = "failedToKeepConnected"
|
||||
FailedToSend = "failedToSend"
|
||||
FailedToReceive = "failedToReceive"
|
||||
RedirectedToleader = "redirectedToleader"
|
||||
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"
|
||||
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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user