LCOV - code coverage report
Current view: top level - libs/remote_storage/src - metrics.rs (source / functions) Coverage Total Hit
Test: f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info Lines: 92.0 % 137 126
Test Date: 2024-09-19 20:36:02 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 379
>::get 0
>::get 379
<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::<_> 379
>::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:: 79
<remote_storage::metrics::RequestKind>::as_index 1486
<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 646
>>::get 0
>::get 646
<remote_storage::metrics::RequestTyped<prometheus::histogram::Histogram>>::observe_elapsed 267
remote_storage::metrics::start_counting_cancelled_wait 267
remote_storage::metrics::start_counting_cancelled_wait::{closure#0} 0
remote_storage::metrics::start_measuring_requests 379
remote_storage::metrics::start_measuring_requests::{closure#0} 0

Generated by: LCOV version 2.1-beta