LCOV - code coverage report
Current view: top level - libs/metrics/src - lib.rs (source / functions) Coverage Total Hit
Test: 53437f7e869ac68c86c7d3e4c20964c0156f158c.info Lines: 17.5 % 252 44
Test Date: 2024-09-20 16:14:12 Functions: 30.1 % 103 31

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::GenericCounterPairVec<_>>::remove_label_values 72
>::remove_label_values 0
>::remove_label_values 72
<metrics::CounterPairVec<_> as core::default::Default>::default 120
as core::default::Default>::default 0
as core::default::Default>::default 40
as core::default::Default>::default 40
as core::default::Default>::default 40
<metrics::GenericCounterPairVec<_>>::with_label_values 540
>::with_label_values 0
>::with_label_values 540
<metrics::GenericCounterPairVec<_>>::new 564
>::new 0
>::new 564
<metrics::GenericCounterPair<_>>::guard 1092
>::guard 0
>::guard 1092
<metrics::GenericCounterPairGuard<_> as core::ops::drop::Drop>::drop 1092
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 1092
pageserver::metrics::PAGE_CACHE_SIZE::{closure#0}::{closure#0} 1764
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} 258
pageserver::metrics::RESIDENT_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 498
pageserver::metrics::TIMELINE_EPHEMERAL_BYTES::{closure#0}::{closure#0} 498
pageserver::metrics::REMOTE_PHYSICAL_SIZE_GLOBAL::{closure#0}::{closure#0} 510
<metrics::GenericCounterPairVec<_>>::get_metric_with_label_values 2784
>::get_metric_with_label_values 0
>::get_metric_with_label_values 2784
pageserver::metrics::TENANT_MANAGER::{closure#0}::{closure#0} 5922
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} 6
pageserver::metrics::TENANT_SYNTHETIC_SIZE_METRIC::{closure#0}::{closure#0} 18
pageserver::metrics::BROKEN_TENANTS_SET::{closure#0}::{closure#0} 36
pageserver::metrics::PAGE_CACHE_SIZE_CURRENT_BYTES::{closure#0}::{closure#0} 258
pageserver::metrics::TOKIO_EXECUTOR_THREAD_COUNT::{closure#0}::{closure#0} 498
pageserver::metrics::CURRENT_LOGICAL_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::PITR_HISTORY_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::REMOTE_PHYSICAL_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::RESIDENT_PHYSICAL_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::TIMELINE_ARCHIVE_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::TIMELINE_LAYER_COUNT::{closure#0}::{closure#0} 510
pageserver::metrics::TIMELINE_LAYER_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::VALID_LSN_LEASE_COUNT::{closure#0}::{closure#0} 510
pageserver::metrics::VISIBLE_PHYSICAL_SIZE::{closure#0}::{closure#0} 510
pageserver::metrics::TENANT_STATE_METRIC::{closure#0}::{closure#0} 516
<metrics::GenericCounterPair<_>>::dec 8764
>::dec 0
>::dec 8764
<metrics::GenericCounterPair<_>>::inc 10392
>::inc 0
>::inc 10392
<metrics::GenericCounterPair<_> as core::clone::Clone>::clone 19078
as core::clone::Clone>::clone 0
as core::clone::Clone>::clone 19078

Generated by: LCOV version 2.1-beta