We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3148740 commit 19ee2e8Copy full SHA for 19ee2e8
model.go
@@ -177,8 +177,8 @@ type Status struct {
177
Name string `json:"name"`
178
} `json:"messages"`
179
PageCache struct {
180
- LogHitRate int `json:"log_hit_rate"`
181
- StorageHitRate int `json:"storage_hit_rate"`
+ LogHitRate float64 `json:"log_hit_rate"`
+ StorageHitRate float64 `json:"storage_hit_rate"`
182
} `json:"page_cache"`
183
Processes map[string]struct {
184
Address string `json:"address"`
testdata/status2.json
@@ -511,8 +511,8 @@
511
}
512
],
513
"page_cache": {
514
- "log_hit_rate": 1,
515
- "storage_hit_rate": 1
+ "log_hit_rate": 0.99832799999999999,
+ "storage_hit_rate": 0.99840299999999993
516
},
517
"processes": {
518
"05ab57c2b7cd6b51e62a1390da76217a": {
0 commit comments