LCOV - code coverage report
Current view: top level - libs/remote_storage/src - metrics.rs (source / functions) Coverage Total Hit
Test: 8b13a09a5c233d98abd4a0d3e59157e7db16d6fd.info Lines: 92.7 % 137 127
Test Date: 2024-11-21 10:53:51 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 502
remote_storage::metrics::start_counting_cancelled_wait 502
<remote_storage::metrics::AttemptOutcome as core::convert::From<&core::result::Result<_, _>>>::from 603
>>::from 0
>>>::from 2
>>::from 3
>>>::from 6
>>::from 94
>>::from 102
>>>::from 198
>>>::from 198
remote_storage::metrics::start_measuring_requests 739
<remote_storage::metrics::PassFailCancelledRequestTyped<_>>::get 741
>::get 0
>::get 741
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::observe_elapsed::<_> 741
>::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:: 138
>::observe_elapsed::<&core::result::Result>> 198
>::observe_elapsed::<&core::result::Result>> 198
<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 1243
>>::get 0
>::get 1243
<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 2503

Generated by: LCOV version 2.1-beta