diff --git a/etc/grafana-dashboards/runkv-overview.json b/etc/grafana-dashboards/runkv-overview.json index 4387a60..fd4d4ac 100644 --- a/etc/grafana-dashboards/runkv-overview.json +++ b/etc/grafana-dashboards/runkv-overview.json @@ -122,7 +122,7 @@ "uid": "PEDE6B306CC9C0CD0" }, "editorMode": "code", - "expr": "sum(irate(kv_service_latency_histogram_vec_sum[1m]))", + "expr": "sum(irate(kv_service_latency_histogram_vec_count{ service=\"get,put,delete,snapshot,txn\"}[1m]))", "hide": false, "legendFormat": "total", "range": true, @@ -134,7 +134,7 @@ "uid": "PEDE6B306CC9C0CD0" }, "editorMode": "code", - "expr": "sum(irate(kv_service_latency_histogram_vec_sum[1m])) by (service)", + "expr": "sum by (service) (irate(kv_service_latency_histogram_vec_count[1m]))", "hide": false, "legendFormat": "{{service}}", "range": true, @@ -1252,8 +1252,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1343,8 +1342,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1434,8 +1432,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1552,8 +1549,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1643,8 +1639,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1768,8 +1763,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1886,8 +1880,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1977,8 +1970,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2102,8 +2094,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2220,8 +2211,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2324,8 +2314,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2415,8 +2404,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2584,8 +2572,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2702,8 +2689,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2793,8 +2779,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2884,8 +2869,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2975,8 +2959,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3093,8 +3076,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3184,8 +3166,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3302,8 +3283,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3393,8 +3373,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3517,8 +3496,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3668,8 +3646,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3761,8 +3738,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3865,8 +3841,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4016,8 +3991,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4120,8 +4094,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4237,6 +4210,6 @@ "timezone": "", "title": "RunKV Overview", "uid": "kJf6Tv_nk", - "version": 1, + "version": 2, "weekStart": "" } \ No newline at end of file diff --git a/wheel/src/components/lsm_tree.rs b/wheel/src/components/lsm_tree.rs index c4b550d..5099c97 100644 --- a/wheel/src/components/lsm_tree.rs +++ b/wheel/src/components/lsm_tree.rs @@ -243,8 +243,6 @@ impl ObjectStoreLsmTreeCore { } } -unsafe impl Sync for ObjectStoreLsmTreeCore {} - #[derive(Clone)] pub struct ObjectStoreLsmTree { raft_node: u64,