You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

2 years ago
  1. package stats
  2. // This file contains metric names for all errors
  3. // The naming convention is ErrorSomeThing = "error.some.thing"
  4. const (
  5. // volume server
  6. WriteToLocalDisk = "writeToLocalDisk"
  7. WriteToReplicas = "writeToReplicas"
  8. ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
  9. ErrorSizeMismatch = "errorSizeMismatch"
  10. ErrorCRC = "errorCRC"
  11. ErrorIndexOutOfRange = "errorIndexOutOfRange"
  12. // master topology
  13. ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
  14. ErrorUnmarshalPairs = "errorUnmarshalPairs"
  15. ErrorWriteToReplicas = "errorWriteToReplicas"
  16. // master client
  17. FailedToKeepConnected = "failedToKeepConnected"
  18. FailedToSend = "failedToSend"
  19. FailedToReceive = "failedToReceive"
  20. RedirectedToLeader = "redirectedToLeader"
  21. OnPeerUpdate = "onPeerUpdate"
  22. Failed = "failed"
  23. // filer handler
  24. DirList = "dirList"
  25. ContentSaveToFiler = "contentSaveToFiler"
  26. AutoChunk = "autoChunk"
  27. ChunkProxy = "chunkProxy"
  28. ChunkAssign = "chunkAssign"
  29. ChunkUpload = "chunkUpload"
  30. ChunkDoUploadRetry = "chunkDoUploadRetry"
  31. ChunkUploadRetry = "chunkUploadRetry"
  32. ChunkAssignRetry = "chunkAssignRetry"
  33. ErrorReadNotFound = "read.notfound"
  34. ErrorReadInternal = "read.internal.error"
  35. ErrorWriteEntry = "write.entry.failed"
  36. RepeatErrorUploadContent = "upload.content.repeat.failed"
  37. ErrorReadCache = "read.cache.failed"
  38. ErrorReadStream = "read.stream.failed"
  39. )