@@ -1144,15 +1144,6 @@ void PrintPrometheusMetrics(const Metrics& m, StringResponse* resp) {
1144
1144
MetricType::COUNTER, &resp->body ());
1145
1145
AppendMetricWithoutLabels (" reply_total" , " " , m.facade_stats .reply_stats .send_stats .count ,
1146
1146
MetricType::COUNTER, &resp->body ());
1147
-
1148
- // Tiered metrics.
1149
- if (m.disk_stats .read_total > 0 ) {
1150
- AppendMetricWithoutLabels (" tiered_reads_total" , " " , m.disk_stats .read_total ,
1151
- MetricType::COUNTER, &resp->body ());
1152
- AppendMetricWithoutLabels (" tiered_reads_latency_seconds" , " " ,
1153
- double (m.disk_stats .read_delay_usec ) * 1e-6 , MetricType::COUNTER,
1154
- &resp->body ());
1155
- }
1156
1147
}
1157
1148
1158
1149
AppendMetricWithoutLabels (" script_error_total" , " " , m.facade_stats .reply_stats .script_error_count ,
@@ -1845,7 +1836,7 @@ Metrics ServerFamily::GetMetrics() const {
1845
1836
result.shard_stats += shard->stats ();
1846
1837
1847
1838
if (shard->tiered_storage_v2 ()) {
1848
- result.tiered_stats_v2 += shard->tiered_storage_v2 ()->GetStats ();
1839
+ result.tiered_stats += shard->tiered_storage_v2 ()->GetStats ();
1849
1840
}
1850
1841
1851
1842
if (shard->search_indices ()) {
@@ -2057,23 +2048,19 @@ void ServerFamily::Info(CmdArgList args, ConnectionContext* cntx) {
2057
2048
}
2058
2049
2059
2050
if (should_enter (" TIERED" , true )) {
2060
- append (" tiered_entries" , total.tiered_entries );
2061
- append (" tiered_bytes" , total.tiered_size );
2062
- append (" tiered_bytes_human" , HumanReadableNumBytes (total.tiered_size ));
2063
- append (" tiered_reads" , m.disk_stats .read_total );
2064
- append (" tiered_read_latency_usec" , m.disk_stats .read_delay_usec );
2065
- append (" tiered_writes" , m.tiered_stats .tiered_writes );
2066
- append (" tiered_reserved" , m.tiered_stats .storage_reserved );
2067
- append (" tiered_capacity" , m.tiered_stats .storage_capacity );
2068
- append (" tiered_aborted_writes" , m.tiered_stats .aborted_write_cnt );
2069
- append (" tiered_flush_skipped" , m.tiered_stats .flush_skip_cnt );
2070
- append (" tiered_throttled_writes" , m.tiered_stats .throttled_write_cnt );
2071
- }
2072
-
2073
- if (should_enter (" TIERED_V2" , true )) {
2074
- append (" tiered_v2_total_stashes" , m.tiered_stats_v2 .total_stashes );
2075
- append (" tiered_v2_total_fetches" , m.tiered_stats_v2 .total_fetches );
2076
- append (" tiered_v2_allocated_bytes" , m.tiered_stats_v2 .allocated_bytes );
2051
+ append (" tiered_total_stashes" , m.tiered_stats .total_stashes );
2052
+ append (" tiered_total_fetches" , m.tiered_stats .total_fetches );
2053
+ append (" tiered_total_cancels" , m.tiered_stats .total_cancels );
2054
+
2055
+ append (" tiered_allocated_bytes" , m.tiered_stats .allocated_bytes );
2056
+ append (" tiered_capacity_bytes" , m.tiered_stats .capacity_bytes );
2057
+
2058
+ append (" tiered_pending_read_cnt" , m.tiered_stats .pending_read_cnt );
2059
+ append (" tiered_pending_stash_cnt" , m.tiered_stats .pending_stash_cnt );
2060
+
2061
+ append (" tiered_small_bins_cnt" , m.tiered_stats .small_bins_cnt );
2062
+ append (" tiered_small_bins_entries_cnt" , m.tiered_stats .small_bins_entries_cnt );
2063
+ append (" tiered_small_bins_filling_bytes" , m.tiered_stats .small_bins_filling_bytes );
2077
2064
}
2078
2065
2079
2066
if (should_enter (" PERSISTENCE" , true )) {
0 commit comments