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.

31 lines
1.0 KiB

  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. ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
  7. ErrorSizeMismatch = "errorSizeMismatch"
  8. ErrorCRC = "errorCRC"
  9. ErrorIndexOutOfRange = "errorIndexOutOfRange"
  10. // master topology
  11. ErrorWriteToLocalDisk = "errorWriteToLocalDisk"
  12. ErrorUnmarshalPairs = "errorUnmarshalPairs"
  13. ErrorWriteToReplicas = "errorWriteToReplicas"
  14. // master client
  15. FailedToKeepConnected = "failedToKeepConnected"
  16. FailedToSend = "failedToSend"
  17. FailedToReceive = "failedToReceive"
  18. RedirectedToleader = "redirectedToleader"
  19. OnPeerUpdate = "onPeerUpdate"
  20. Failed = "failed"
  21. // filer handler
  22. ErrorReadNotFound = "read.notfound"
  23. ErrorReadInternal = "read.internalerror"
  24. ErrorWriteEntry = "write.entry.failed"
  25. ErrorReadCache = "read.cache.failed"
  26. ErrorReadStream = "read.stream.failed"
  27. )