LCOV - code coverage report
Current view: top level - libs/metrics/src - lib.rs (source / functions) Coverage Total Hit
Test: 249f165943bd2c492f96a3f7d250276e4addca1a.info Lines: 31.5 % 305 96
Test Date: 2024-11-20 18:39:52 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 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<_>>::dec_by 0
<metrics::GenericCounterPair<_>>::guard_by 0
<metrics::GenericCounterPair<_>>::inc_by 0
<metrics::GenericCounterPair<_>>::new 0
>::new 0
>::new 0
<metrics::GenericCounterPairGuardBy<_> as core::ops::drop::Drop>::drop 0
<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::register_internal 0
metrics::set_build_info_metric 0
metrics::update_rusage_metrics 0
metrics::write_gauge::<_, _, _> 0
metrics::write_gauge::<_, _, _> 0
metrics::write_gauge::, metrics::IoOp, &measured::metric::name::MetricName> 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::GenericCounterPairVec<_>>::remove_label_values 24
>::remove_label_values 0
>::remove_label_values 24
metrics::pow2_buckets 24
metrics::pow2_buckets::{closure#2} 123
<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::pow2_buckets::{closure#0} 141
metrics::pow2_buckets::{closure#1} 141
<metrics::GenericCounterPairVec<_>>::with_label_values 180
>::with_label_values 0
>::with_label_values 180
<metrics::GenericCounterPairVec<_>>::new 188
>::new 0
>::new 188
<metrics::GenericCounterPair<_>>::guard 364
>::guard 0
>::guard 364
<metrics::GenericCounterPairGuard<_> as core::ops::drop::Drop>::drop 364
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 364
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::STARTUP_IS_LOADING::{closure#0}::{closure#0} 0
pageserver::metrics::virtual_file_descriptor_cache::SIZE_MAX::{closure#0}::{closure#0} 0
pageserver::metrics::PAGE_CACHE_SIZE::{closure#0}::{closure#0} 88
pageserver::metrics::RESIDENT_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 168
pageserver::metrics::TIMELINE_EPHEMERAL_BYTES::{closure#0}::{closure#0} 168
pageserver::metrics::REMOTE_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 172
<metrics::GenericCounterPairVec<_>>::get_metric_with_label_values 933
>::get_metric_with_label_values 0
>::get_metric_with_label_values 933
pageserver::metrics::TENANT_MANAGER::{closure#0}::{closure#0} 1997
compute_tools::installed_extensions::INSTALLED_EXTENSIONS::{closure#0}::{closure#0} 0
pageserver::metrics::DIRECTORY_ENTRIES_COUNT::{closure#0}::{closure#0} 0
pageserver::metrics::SECONDARY_HEATMAP_TOTAL_SIZE::{closure#0}::{closure#0} 0
pageserver::metrics::SECONDARY_RESIDENT_PHYSICAL_SIZE::{closure#0}::{closure#0} 0
pageserver::metrics::virtual_file_io_engine::KIND::{closure#0}::{closure#0} 0
pageserver::metrics::TENANT_MANAGER::{closure#0}::{closure#0} 2
pageserver::metrics::TENANT_SYNTHETIC_SIZE_METRIC::{closure#0}::{closure#0} 6
pageserver::metrics::BROKEN_TENANTS_SET::{closure#0}::{closure#0} 11
pageserver::metrics::PAGE_CACHE_SIZE_CURRENT_BYTES::{closure#0}::{closure#0} 88
pageserver::metrics::TOKIO_EXECUTOR_THREAD_COUNT::{closure#0}::{closure#0} 168
pageserver::metrics::CURRENT_LOGICAL_SIZE::{closure#0}::{closure#0} 172
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::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::VALID_LSN_LEASE_COUNT::{closure#0}::{closure#0} 172
pageserver::metrics::VISIBLE_PHYSICAL_SIZE::{closure#0}::{closure#0} 172
pageserver::metrics::TENANT_STATE_METRIC::{closure#0}::{closure#0} 174
<metrics::GenericCounterPair<_>>::dec 2955
>::dec 0
>::dec 2955
<metrics::GenericCounterPair<_>>::inc 3494
>::inc 0
>::inc 3494
<metrics::GenericCounterPair<_> as core::clone::Clone>::clone 6423
as core::clone::Clone>::clone 0
as core::clone::Clone>::clone 6423

Generated by: LCOV version 2.1-beta