LCOV - code coverage report
Current view: top level - libs/remote_storage/src - metrics.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 92.7 % 137 127
Test Date: 2024-10-22 22:13:45 Functions: 87.2 % 47 41

Function Name Sort by function name Hit count Sort by function hit count
remote_storage::metrics::start_counting_cancelled_wait::{closure#0} 0
remote_storage::metrics::start_measuring_requests::{closure#0} 0
<remote_storage::metrics::BucketMetrics as core::default::Default>::default 36
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}> 36
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1}> 180
>>::build_with::<::default::{closure#2}> 36
>::build_with::<::default::{closure#1}> 36
>::build_with::<>::build_with<::default::{closure#0}>::{closure#0}> 36
>::build_with::<>::build_with<::default::{closure#0}>::{closure#1}> 36
>::build_with::<>::build_with<::default::{closure#0}>::{closure#2}> 36
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1} 252
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#2} 252
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#0} 252
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#1} 252
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#2} 252
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::observe_elapsed 504
remote_storage::metrics::start_counting_cancelled_wait 504
<remote_storage::metrics::AttemptOutcome as core::convert::From<&core::result::Result<_, _>>>::from 604
>>::from 0
>>>::from 2
>>::from 3
>>>::from 6
>>::from 94
>>::from 102
>>>::from 198
>>>::from 199
remote_storage::metrics::start_measuring_requests 741
<remote_storage::metrics::PassFailCancelledRequestTyped<_>>::get 743
>::get 0
>::get 743
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::observe_elapsed::<_> 743
>::observe_elapsed::<_> 0
>::observe_elapsed::<&core::result::Result>> 2
>::observe_elapsed::<&core::result::Result> 3
>::observe_elapsed::<&core::result::Result>> 6
>::observe_elapsed::<&core::result::Result<(), anyhow::Error>> 94
>::observe_elapsed::<&core::result::Result> 102
>::observe_elapsed:: 139
>::observe_elapsed::<&core::result::Result>> 198
>::observe_elapsed::<&core::result::Result>> 199
<remote_storage::metrics::AttemptOutcome>::as_str 756
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0} 756
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::get 1247
>>::get 0
>::get 1247
<remote_storage::metrics::RequestKind>::as_str 1260
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1}>::{closure#0} 1260
>>::build_with::<::default::{closure#2}>::{closure#0} 252
>::build_with::<::default::{closure#1}>::{closure#0} 252
>::build_with::<>::build_with<::default::{closure#0}>::{closure#0}>::{closure#0} 252
>::build_with::<>::build_with<::default::{closure#0}>::{closure#1}>::{closure#0} 252
>::build_with::<>::build_with<::default::{closure#0}>::{closure#2}>::{closure#0} 252
<remote_storage::metrics::RequestKind>::as_index 2507

Generated by: LCOV version 2.1-beta