From 04776ade6c751715df536440873e149f2d684336 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Tue, 1 Aug 2023 19:18:25 +0300 Subject: [PATCH] fix(consumption): rename _size_ => _data_ (#4866) I failed at renaming the metric middle part while managing to do a great job with the suffix. Fix the middle part as well. --- pageserver/src/consumption_metrics.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pageserver/src/consumption_metrics.rs b/pageserver/src/consumption_metrics.rs index 326802e7e4..e4284b9e9c 100644 --- a/pageserver/src/consumption_metrics.rs +++ b/pageserver/src/consumption_metrics.rs @@ -113,7 +113,9 @@ impl MetricsKey { MetricsKey { tenant_id, timeline_id: Some(timeline_id), - metric: "written_size_bytes_delta", + // the name here is correctly about data not size, because that is what is wanted by + // downstream pipeline + metric: "written_data_bytes_delta", } .incremental_values() }