|
@@ -40,30 +40,37 @@ const (
|
|
|
type Stats struct {
|
|
type Stats struct {
|
|
|
|
|
|
|
|
// Number of get requests
|
|
// Number of get requests
|
|
|
|
|
+
|
|
|
GetSuccess uint64 `json:"getsSuccess"`
|
|
GetSuccess uint64 `json:"getsSuccess"`
|
|
|
GetFail uint64 `json:"getsFail"`
|
|
GetFail uint64 `json:"getsFail"`
|
|
|
|
|
|
|
|
// Number of sets requests
|
|
// Number of sets requests
|
|
|
|
|
+
|
|
|
SetSuccess uint64 `json:"setsSuccess"`
|
|
SetSuccess uint64 `json:"setsSuccess"`
|
|
|
SetFail uint64 `json:"setsFail"`
|
|
SetFail uint64 `json:"setsFail"`
|
|
|
|
|
|
|
|
// Number of delete requests
|
|
// Number of delete requests
|
|
|
|
|
+
|
|
|
DeleteSuccess uint64 `json:"deleteSuccess"`
|
|
DeleteSuccess uint64 `json:"deleteSuccess"`
|
|
|
DeleteFail uint64 `json:"deleteFail"`
|
|
DeleteFail uint64 `json:"deleteFail"`
|
|
|
|
|
|
|
|
// Number of update requests
|
|
// Number of update requests
|
|
|
|
|
+
|
|
|
UpdateSuccess uint64 `json:"updateSuccess"`
|
|
UpdateSuccess uint64 `json:"updateSuccess"`
|
|
|
UpdateFail uint64 `json:"updateFail"`
|
|
UpdateFail uint64 `json:"updateFail"`
|
|
|
|
|
|
|
|
// Number of create requests
|
|
// Number of create requests
|
|
|
|
|
+
|
|
|
CreateSuccess uint64 `json:"createSuccess"`
|
|
CreateSuccess uint64 `json:"createSuccess"`
|
|
|
CreateFail uint64 `json:"createFail"`
|
|
CreateFail uint64 `json:"createFail"`
|
|
|
|
|
|
|
|
// Number of testAndSet requests
|
|
// Number of testAndSet requests
|
|
|
|
|
+
|
|
|
CompareAndSwapSuccess uint64 `json:"compareAndSwapSuccess"`
|
|
CompareAndSwapSuccess uint64 `json:"compareAndSwapSuccess"`
|
|
|
CompareAndSwapFail uint64 `json:"compareAndSwapFail"`
|
|
CompareAndSwapFail uint64 `json:"compareAndSwapFail"`
|
|
|
|
|
|
|
|
// Number of compareAndDelete requests
|
|
// Number of compareAndDelete requests
|
|
|
|
|
+
|
|
|
CompareAndDeleteSuccess uint64 `json:"compareAndDeleteSuccess"`
|
|
CompareAndDeleteSuccess uint64 `json:"compareAndDeleteSuccess"`
|
|
|
CompareAndDeleteFail uint64 `json:"compareAndDeleteFail"`
|
|
CompareAndDeleteFail uint64 `json:"compareAndDeleteFail"`
|
|
|
|
|
|