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.

33 lines
1.1 KiB

3 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. ErrorReadNotFound = "read.notfound"
  25. ErrorReadInternal = "read.internalerror"
  26. ErrorWriteEntry = "write.entry.failed"
  27. ErrorReadCache = "read.cache.failed"
  28. ErrorReadStream = "read.stream.failed"
  29. )