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

Function Name Sort by function name Hit count Sort by function hit count
<remote_storage::metrics::AttemptOutcome as core::convert::From<&core::result::Result<_, _>>>::from 603
>>::from 94
>>::from 0
>>>::from 2
>>>::from 198
>>>::from 6
>>::from 102
>>>::from 198
>>::from 3
<remote_storage::metrics::AttemptOutcome>::as_str 756
<remote_storage::metrics::BucketMetrics as core::default::Default>::default 36
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0} 756
<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<_>>::get 741
>::get 0
>::get 741
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}> 36
<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::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::observe_elapsed::<_> 741
>::observe_elapsed::<&core::result::Result<(), anyhow::Error>> 94
>::observe_elapsed::<&core::result::Result>> 2
>::observe_elapsed::<&core::result::Result>> 198
>::observe_elapsed::<&core::result::Result>> 6
>::observe_elapsed::<&core::result::Result> 102
>::observe_elapsed::<&core::result::Result>> 198
>::observe_elapsed::<&core::result::Result> 3
>::observe_elapsed::<_> 0
>::observe_elapsed:: 138
<remote_storage::metrics::RequestKind>::as_index 2503
<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}> 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::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::RequestTyped<prometheus::histogram::Histogram>>::get 1243
>>::get 0
>::get 1243
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::observe_elapsed 502
remote_storage::metrics::start_counting_cancelled_wait 502
remote_storage::metrics::start_counting_cancelled_wait::{closure#0} 0
remote_storage::metrics::start_measuring_requests 739
remote_storage::metrics::start_measuring_requests::{closure#0} 0

Generated by: LCOV version 2.1-beta