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.

46 lines
1.7 KiB

2 years ago
1 year 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. ErrorGetNotFound = "errorGetNotFound"
  13. ErrorGetInternal = "errorGetInternal"
  14. // master topology
  15. ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
  16. ErrorUnmarshalPairs = "errorUnmarshalPairs"
  17. ErrorWriteToReplicas = "errorWriteToReplicas"
  18. // master client
  19. FailedToKeepConnected = "failedToKeepConnected"
  20. FailedToSend = "failedToSend"
  21. FailedToReceive = "failedToReceive"
  22. RedirectedToLeader = "redirectedToLeader"
  23. OnPeerUpdate = "onPeerUpdate"
  24. Failed = "failed"
  25. // filer handler
  26. DirList = "dirList"
  27. ContentSaveToFiler = "contentSaveToFiler"
  28. AutoChunk = "autoChunk"
  29. ChunkProxy = "chunkProxy"
  30. ChunkAssign = "chunkAssign"
  31. ChunkUpload = "chunkUpload"
  32. ChunkDoUploadRetry = "chunkDoUploadRetry"
  33. ChunkUploadRetry = "chunkUploadRetry"
  34. ChunkAssignRetry = "chunkAssignRetry"
  35. ErrorReadNotFound = "read.notfound"
  36. ErrorReadInternal = "read.internal.error"
  37. ErrorWriteEntry = "write.entry.failed"
  38. RepeatErrorUploadContent = "upload.content.repeat.failed"
  39. ErrorChunkAssign = "chunkAssign.failed"
  40. ErrorReadCache = "read.cache.failed"
  41. ErrorReadStream = "read.stream.failed"
  42. )