LCOV - code coverage report
Current view: top level - libs/metrics/src - lib.rs (source / functions) Coverage Total Hit
Test: 8ff8efadb0253cf618c612650348666c0c564111.info Lines: 31.5 % 305 96
Test Date: 2024-11-20 17:53:50 Functions: 35.4 % 113 40

Function Name Sort by function name Hit count Sort by function hit count
<metrics::BuildInfo as measured::label::group::LabelGroup>::visit_values::<_> 0
::visit_values::<>::write_metric_value::GroupVisitor> 0
::visit_values::<_> 0
<metrics::BuildInfo as measured::metric::MetricFamilyEncoding<_>>::collect_family_into::<_> 0
>::collect_family_into::<_> 0
>>::collect_family_into::<&measured::metric::name::MetricName> 0
<metrics::CollectionCounter as measured::metric::MetricFamilyEncoding<_>>::collect_family_into::<_> 0
>::collect_family_into::<_> 0
>>::collect_family_into::<&measured::metric::name::MetricName> 0
<metrics::CounterPairVec<_> as core::default::Default>::default 135
as core::default::Default>::default 0
as core::default::Default>::default 45
as core::default::Default>::default 45
as core::default::Default>::default 45
<metrics::CounterPairVec<_> as measured::metric::group::MetricGroup<_>>::collect_group_into 0
as measured::metric::group::MetricGroup<_>>::collect_group_into 0
as measured::metric::group::MetricGroup>>::collect_group_into 0
as measured::metric::group::MetricGroup>>::collect_group_into 0
as measured::metric::group::MetricGroup>>::collect_group_into 0
<metrics::CounterPairVec<_>>::dec 0
<metrics::CounterPairVec<_>>::guard 0
>::guard 0
>::guard 0
>::guard 0
>::guard 0
<metrics::CounterPairVec<_>>::inc 0
<metrics::CounterPairVec<_>>::remove_metric 0
<metrics::CounterPairVec<_>>::sample 0
>::sample 0
>::sample 0
<metrics::Dec<_> as measured::metric::group::Encoding>::write_help::<_> 0
<metrics::GenericCounterPair<_> as core::clone::Clone>::clone 6404
as core::clone::Clone>::clone 0
as core::clone::Clone>::clone 6404
<metrics::GenericCounterPair<_>>::dec 2931
>::dec 0
>::dec 2931
<metrics::GenericCounterPair<_>>::dec_by 0
<metrics::GenericCounterPair<_>>::guard 364
>::guard 0
>::guard 364
<metrics::GenericCounterPair<_>>::guard_by 0
<metrics::GenericCounterPair<_>>::inc 3499
>::inc 0
>::inc 3499
<metrics::GenericCounterPair<_>>::inc_by 0
<metrics::GenericCounterPair<_>>::new 0
>::new 0
>::new 0
<metrics::GenericCounterPairGuard<_> as core::ops::drop::Drop>::drop 364
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 364
<metrics::GenericCounterPairGuardBy<_> as core::ops::drop::Drop>::drop 0
<metrics::GenericCounterPairVec<_>>::get_metric_with_label_values 933
>::get_metric_with_label_values 0
>::get_metric_with_label_values 933
<metrics::GenericCounterPairVec<_>>::new 188
>::new 0
>::new 188
<metrics::GenericCounterPairVec<_>>::remove_label_values 24
>::remove_label_values 0
>::remove_label_values 24
<metrics::GenericCounterPairVec<_>>::with_label_values 180
>::with_label_values 0
>::with_label_values 180
<metrics::Inc<_> as measured::metric::group::Encoding>::write_help::<_> 0
<metrics::IoOp as measured::label::group::LabelGroup>::visit_values::<_> 0
::visit_values::<>::write_metric_value::GroupVisitor> 0
::visit_values::<_> 0
<metrics::LibMetrics>::new 0
<metrics::MeasuredCounterPairGuard<_> as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 0
<metrics::MeasuredCounterPairState as measured::metric::MetricEncoding<metrics::Dec<_>>>::collect_into::<_, _> 0
>>>::collect_into:: 0
>>::collect_into::<_, _> 0
<metrics::MeasuredCounterPairState as measured::metric::MetricEncoding<metrics::Dec<_>>>::write_type::<_> 0
>>>::write_type::<&&measured::metric::name::MetricName> 0
>>::write_type::<_> 0
<metrics::MeasuredCounterPairState as measured::metric::MetricEncoding<metrics::Inc<_>>>::collect_into::<_, _> 0
>>>::collect_into:: 0
>>::collect_into::<_, _> 0
<metrics::MeasuredCounterPairState as measured::metric::MetricEncoding<metrics::Inc<_>>>::write_type::<_> 0
>>>::write_type::<&&measured::metric::name::MetricName> 0
>>::write_type::<_> 0
<metrics::NeonMetrics>::new 0
<metrics::Rusage as measured::metric::group::MetricGroup<_>>::collect_group_into 0
>::collect_group_into 0
>>::collect_group_into 0
metrics::DISK_IO_BYTES::{closure#0} 0
metrics::MAXRSS_KB::{closure#0} 0
metrics::gather 0
metrics::get_rusage_stats 0
metrics::pow2_buckets 24
metrics::pow2_buckets::{closure#0} 141
metrics::pow2_buckets::{closure#1} 141
metrics::pow2_buckets::{closure#2} 123
metrics::register_internal 0
metrics::set_build_info_metric 0
metrics::tests::pow2_buckets_cases 1
metrics::tests::pow2_buckets_end_lt_start 1
metrics::tests::pow2_buckets_end_overflow_max 1
metrics::tests::pow2_buckets_end_overflow_min 1
metrics::tests::pow2_buckets_zero_start 1
metrics::update_rusage_metrics 0
metrics::write_gauge::<_, _, _> 0
metrics::write_gauge::<_, _, _> 0
metrics::write_gauge::, metrics::IoOp, &measured::metric::name::MetricName> 0
pageserver::metrics::PAGE_CACHE_SIZE::{closure#0}::{closure#0} 596
metrics::launch_timestamp::set_launch_timestamp_metric::{closure#0} 0
pageserver::metrics::NODE_UTILIZATION_SCORE::{closure#0}::{closure#0} 0
pageserver::metrics::PAGE_CACHE_SIZE::{closure#0}::{closure#0} 88
pageserver::metrics::REMOTE_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 172
pageserver::metrics::RESIDENT_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 168
pageserver::metrics::STARTUP_IS_LOADING::{closure#0}::{closure#0} 0
pageserver::metrics::TIMELINE_EPHEMERAL_BYTES::{closure#0}::{closure#0} 168
pageserver::metrics::virtual_file_descriptor_cache::SIZE_MAX::{closure#0}::{closure#0} 0
pageserver::metrics::TENANT_MANAGER::{closure#0}::{closure#0} 1998
compute_tools::installed_extensions::INSTALLED_EXTENSIONS::{closure#0}::{closure#0} 0
pageserver::metrics::BROKEN_TENANTS_SET::{closure#0}::{closure#0} 12
pageserver::metrics::CURRENT_LOGICAL_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::DIRECTORY_ENTRIES_COUNT::{closure#0}::{closure#0} 0
pageserver::metrics::PAGE_CACHE_SIZE_CURRENT_BYTES::{closure#0}::{closure#0} 88
pageserver::metrics::PITR_HISTORY_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::REMOTE_PHYSICAL_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::RESIDENT_PHYSICAL_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::SECONDARY_HEATMAP_TOTAL_SIZE::{closure#0}::{closure#0} 0
pageserver::metrics::SECONDARY_RESIDENT_PHYSICAL_SIZE::{closure#0}::{closure#0} 0
pageserver::metrics::TENANT_MANAGER::{closure#0}::{closure#0} 2
pageserver::metrics::TENANT_STATE_METRIC::{closure#0}::{closure#0} 174
pageserver::metrics::TENANT_SYNTHETIC_SIZE_METRIC::{closure#0}::{closure#0} 6
pageserver::metrics::TIMELINE_ARCHIVE_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::TIMELINE_LAYER_COUNT::{closure#0}::{closure#0} 172
pageserver::metrics::TIMELINE_LAYER_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::TOKIO_EXECUTOR_THREAD_COUNT::{closure#0}::{closure#0} 168
pageserver::metrics::VALID_LSN_LEASE_COUNT::{closure#0}::{closure#0} 172
pageserver::metrics::VISIBLE_PHYSICAL_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::virtual_file_io_engine::KIND::{closure#0}::{closure#0} 0

Generated by: LCOV version 2.1-beta