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.
This commit is contained in:
Joonas Koivunen
2023-08-01 19:18:25 +03:00
committed by GitHub
parent c3fe335eaf
commit 04776ade6c

View File

@@ -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()
}