MrCroxx / RunKV

[WIP] An experimental cloud-native distributed KV engine for OLTP workload.
MIT License
68 stars 7 forks source link

feat: introduce raft log store metrics skeleton #136

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

As titled.

Ref: #66 .

codecov[bot] commented 2 years ago

Codecov Report

Merging #136 (f672cc6) into main (f5b0498) will decrease coverage by 0.01%. The diff coverage is 38.46%.

@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
- Coverage   82.52%   82.50%   -0.02%     
==========================================
  Files          75       77       +2     
  Lines        7313     7340      +27     
==========================================
+ Hits         6035     6056      +21     
- Misses       1278     1284       +6     
Impacted Files Coverage Δ
common/src/lib.rs 100.00% <ø> (ø)
common/src/prometheus.rs 0.00% <0.00%> (ø)
storage/bench/bench_raft_log_store.rs 0.72% <0.00%> (-0.08%) :arrow_down:
wheel/src/components/raft_log_store.rs 66.24% <ø> (-0.64%) :arrow_down:
wheel/src/service.rs 83.55% <ø> (+4.98%) :arrow_up:
wheel/src/lib.rs 90.41% <20.00%> (+5.49%) :arrow_up:
storage/src/raft_log_store/log.rs 89.78% <100.00%> (+0.22%) :arrow_up:
storage/src/raft_log_store/metrics.rs 100.00% <100.00%> (ø)
storage/src/raft_log_store/store.rs 89.65% <100.00%> (-0.15%) :arrow_down:
wheel/src/worker/raft.rs 87.31% <100.00%> (-0.22%) :arrow_down:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f5b0498...f672cc6. Read the comment docs.