LCOV - code coverage report
Current view:
top level
-
pageserver/src/consumption_metrics
- metrics.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
aca8877be6ceba750c1be359ed71bc1799d52b30.info
Lines:
95.3 %
275
262
Test Date:
2024-02-14 18:05:35
Functions:
59.8 %
82
49
Function Name
Hit count
pageserver::consumption_metrics::metrics::collect::<_>::{closure#0}::{closure#0}
0
pageserver::consumption_metrics::metrics::collect::<_>::{closure#0}::{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}::{closure#0}
0
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#1}
0
<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::TimelineSnapshot>::to_metrics::{closure#2}
9
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::collect
17
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::collect::{closure#0}
17
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#0}
18
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics::{closure#1}
20
<pageserver::consumption_metrics::metrics::TenantSnapshot>::collect
24
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}
24
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0}
24
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#0}::{closure#0}::{closure#0}
24
<pageserver::consumption_metrics::metrics::AbsoluteValueFactory>::key
26
pageserver::consumption_metrics::metrics::collect::<_>
27
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}>>
27
pageserver::consumption_metrics::metrics::collect::<_>::{closure#0}
27
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}
27
pageserver::consumption_metrics::metrics::collect_all_metrics
27
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}
27
pageserver::consumption_metrics::metrics::collect_all_metrics::{closure#0}::{closure#2}
27
<pageserver::consumption_metrics::metrics::TenantSnapshot>::to_metrics
28
<pageserver::consumption_metrics::metrics::IncrementalValueFactory>::key
29
<pageserver::consumption_metrics::metrics::TimelineSnapshot>::to_metrics
29
<pageserver::consumption_metrics::metrics::MetricsKey>::remote_storage_size
36
<pageserver::consumption_metrics::metrics::MetricsKey>::resident_size
36
<pageserver::consumption_metrics::metrics::MetricsKey>::synthetic_size
36
<pageserver::consumption_metrics::metrics::MetricsKey>::timeline_logical_size
43
<pageserver::consumption_metrics::metrics::IncrementalValueFactory>::from_until
47
<pageserver::consumption_metrics::metrics::MetricsKey>::incremental_values
47
<pageserver::consumption_metrics::metrics::MetricsKey>::written_size_delta
47
<pageserver::consumption_metrics::metrics::MetricsKey>::written_size
49
<pageserver::consumption_metrics::metrics::AbsoluteValueFactory>::at
180
<pageserver::consumption_metrics::metrics::MetricsKey>::absolute_values
200
<pageserver::consumption_metrics::metrics::MetricsKey as core::fmt::Debug>::fmt
573
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
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_map::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>>>
0
::clone
0
::fmt
0
::deserialize::<_>
0
::serialize::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>>>
14
::deserialize::<&mut serde_json::de::Deserializer
>>>
14
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>>>
34
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
34
::serialize::<&mut serde_json::ser::Serializer<&mut std::io::buffered::bufwriter::BufWriter<&mut camino_tempfile::file::NamedUtf8TempFile>>>
109
::eq
165
::hash::
203
<pageserver::consumption_metrics::metrics::Name as core::fmt::Debug>::fmt
1080
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
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::__Visitor as serde::de::Visitor>::visit_enum::
>>>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>
0
::clone
0
::fmt
0
::deserialize::<_>
0
::deserialize::
>
0
::serialize::<_>
0
::serialize::
, serde_json::ser::CompactFormatter>>
0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
12
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>>>
14
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>>>
14
::deserialize::<&mut serde_json::de::Deserializer
>>>
14
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer
>
72
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>
72
::deserialize::<&mut serde_json::de::Deserializer
>
72
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
86
::serialize::<&mut serde_json::ser::Serializer<&mut std::io::buffered::bufwriter::BufWriter<&mut camino_tempfile::file::NamedUtf8TempFile>>>
109
::serialize::<&mut serde_json::ser::Serializer
>>
181
::hash::
203
::eq
231
Generated by:
LCOV version 2.1-beta