LCOV - code coverage report
Current view: top level - pageserver/src/consumption_metrics - metrics.rs (source / functions) Coverage Total Hit
Test: 249f165943bd2c492f96a3f7d250276e4addca1a.info Lines: 68.9 % 302 208
Test Date: 2024-11-20 18:39:52 Functions: 56.9 % 51 29

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::consumption_metrics::metrics::TenantSnapshot>::collect 0
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::collect 0
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::collect::{closure#0} 0
pageserver::consumption_metrics::metrics::collect::<_> 0
pageserver::consumption_metrics::metrics::collect::<_> 0
pageserver::consumption_metrics::metrics::collect::>, pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0}, pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}>> 0
pageserver::consumption_metrics::metrics::collect::<_>::{closure#0} 0
pageserver::consumption_metrics::metrics::collect::<_>::{closure#0} 0
pageserver::consumption_metrics::metrics::collect::>, pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0}, pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}>>::{closure#0} 0
pageserver::consumption_metrics::metrics::collect_all_metrics 0
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0} 0
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::consumption_metrics::metrics::IncrementalValueFactory>::from_until_old_format 2
<pageserver::consumption_metrics::metrics::TenantSnapshot>::to_metrics 4
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#2} 4
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#0} 6
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#1} 8
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#3} 8
::to_metrics::{closure#3}::{closure#0} 2
::to_metrics::{closure#3} 6
<pageserver::consumption_metrics::metrics::AbsoluteValueFactory>::at_old_format 10
<pageserver::consumption_metrics::metrics::AbsoluteValueFactory>::key 10
<pageserver::consumption_metrics::metrics::IncrementalValueFactory>::key 12
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics 12
<pageserver::consumption_metrics::metrics::MetricsKey>::remote_storage_size 16
<pageserver::consumption_metrics::metrics::MetricsKey>::resident_size 16
<pageserver::consumption_metrics::metrics::MetricsKey>::synthetic_size 16
<pageserver::consumption_metrics::metrics::MetricsKey>::timeline_logical_size 30
<pageserver::consumption_metrics::metrics::IncrementalValueFactory>::from_until 32
<pageserver::consumption_metrics::metrics::MetricsKey>::incremental_values 34
<pageserver::consumption_metrics::metrics::MetricsKey>::written_size_delta 34
<pageserver::consumption_metrics::metrics::MetricsKey>::written_size 36
<pageserver::consumption_metrics::metrics::AbsoluteValueFactory>::at 98
<pageserver::consumption_metrics::metrics::MetricsKey>::absolute_values 114
<<pageserver::consumption_metrics::metrics::MetricsKey as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 144
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> 24
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 60
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 60
<<pageserver::consumption_metrics::metrics::Name as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 288
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 24
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 24
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 72
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 72
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 96

Generated by: LCOV version 2.1-beta