LCOV - code coverage report
Current view: top level - libs/remote_storage/src - metrics.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 91.2 % 137 125
Test Date: 2024-09-24 13:57:57 Functions: 78.7 % 47 37

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 300
>>::from 48
>>::from 0
>>>::from 2
>>>::from 106
>>>::from 0
>>::from 38
>>>::from 106
>>::from 0
<remote_storage::metrics::AttemptOutcome>::as_str 504
<remote_storage::metrics::BucketMetrics as core::default::Default>::default 24
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0} 504
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1} 168
<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#2} 168
<remote_storage::metrics::PassFailCancelledRequestTyped<_>>::get 378
>::get 0
>::get 378
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}> 24
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#0} 168
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#1} 168
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#0}>::{closure#2} 168
<remote_storage::metrics::PassFailCancelledRequestTyped<prometheus::histogram::Histogram>>::observe_elapsed::<_> 378
>::observe_elapsed::<&core::result::Result<(), anyhow::Error>> 48
>::observe_elapsed::<&core::result::Result>> 2
>::observe_elapsed::<&core::result::Result>> 106
>::observe_elapsed::<&core::result::Result>> 0
>::observe_elapsed::<&core::result::Result> 38
>::observe_elapsed::<&core::result::Result>> 106
>::observe_elapsed::<&core::result::Result> 0
>::observe_elapsed::<_> 0
>::observe_elapsed:: 78
<remote_storage::metrics::RequestKind>::as_index 1484
<remote_storage::metrics::RequestKind>::as_str 840
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1}> 120
>>::build_with::<::default::{closure#2}> 24
>::build_with::<::default::{closure#1}> 24
>::build_with::<>::build_with<::default::{closure#0}>::{closure#0}> 24
>::build_with::<>::build_with<::default::{closure#0}>::{closure#1}> 24
>::build_with::<>::build_with<::default::{closure#0}>::{closure#2}> 24
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::build_with::<<remote_storage::metrics::BucketMetrics as core::default::Default>::default::{closure#1}>::{closure#0} 840
>>::build_with::<::default::{closure#2}>::{closure#0} 168
>::build_with::<::default::{closure#1}>::{closure#0} 168
>::build_with::<>::build_with<::default::{closure#0}>::{closure#0}>::{closure#0} 168
>::build_with::<>::build_with<::default::{closure#0}>::{closure#1}>::{closure#0} 168
>::build_with::<>::build_with<::default::{closure#0}>::{closure#2}>::{closure#0} 168
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::get 644
>>::get 0
>::get 644
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::observe_elapsed 266
remote_storage::metrics::start_counting_cancelled_wait 266
remote_storage::metrics::start_counting_cancelled_wait::{closure#0} 0
remote_storage::metrics::start_measuring_requests 378
remote_storage::metrics::start_measuring_requests::{closure#0} 0

Generated by: LCOV version 2.1-beta