cockroachdb / cockroach

CockroachDB - the open source, cloud-native distributed SQL database.
https://www.cockroachlabs.com
Other
29.6k stars 3.71k forks source link

replication: add Entry bytes read/written metric #97917

Open tbg opened 1 year ago

tbg commented 1 year ago

We should add counters for bytes read/written for raft entry appends/retrieval.

Reads happen in (*replicaRaftStorage).Entries

Writes happen in logstore.StoreEntries. We'll want two counters, one only for sideloaded writes and one for the combined writes.

Jira issue: CRDB-24964

Epic CRDB-39958

blathers-crl[bot] commented 1 year ago

cc @cockroachdb/replication