sstables: stats: remove now unused sstable_partition_reads counter
This commit is contained in:
@@ -2840,8 +2840,6 @@ future<> init_metrics() {
|
||||
sm::description("Number of single partition flat mutation reads")),
|
||||
sm::make_derive("range_partition_reads", [] { return sstables_stats::get_shard_stats().range_partition_reads; },
|
||||
sm::description("Number of partition range flat mutation reads")),
|
||||
sm::make_derive("sstable_partition_reads", [] { return sstables_stats::get_shard_stats().sstable_partition_reads; },
|
||||
sm::description("Number of whole sstable flat mutation reads")),
|
||||
sm::make_derive("partition_reads", [] { return sstables_stats::get_shard_stats().partition_reads; },
|
||||
sm::description("Number of partitions read")),
|
||||
sm::make_derive("partition_seeks", [] { return sstables_stats::get_shard_stats().partition_seeks; },
|
||||
|
||||
@@ -36,7 +36,6 @@ class sstables_stats {
|
||||
uint64_t cell_tombstone_writes = 0;
|
||||
uint64_t single_partition_reads = 0;
|
||||
uint64_t range_partition_reads = 0;
|
||||
uint64_t sstable_partition_reads = 0;
|
||||
uint64_t partition_reads = 0;
|
||||
uint64_t partition_seeks = 0;
|
||||
uint64_t row_reads = 0;
|
||||
@@ -87,10 +86,6 @@ public:
|
||||
++_stats.range_partition_reads;
|
||||
}
|
||||
|
||||
inline void on_sstable_partition_read() {
|
||||
++_stats.sstable_partition_reads;
|
||||
}
|
||||
|
||||
inline void on_partition_read() {
|
||||
++_stats.partition_reads;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user