stats: fix .size counters showing up as time counters

This commit is contained in:
Wez Furlong committed 2022-01-10 10:36:33 -07:00
1 parent 5d52902b4a
commit fc5c435949
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ impl Inner {
data.clear();
for (key, histogram) in &inner.histograms {
if key.to_string().ends_with(".size") {
if key.name().ends_with(".size") {
let p50 = histogram.value_at_percentile(50.);
let p75 = histogram.value_at_percentile(75.);
let p95 = histogram.value_at_percentile(95.);