LCOV - code coverage report
Current view: top level - libs/utils/src - logging.rs (source / functions) Coverage Total Hit
Test: 1e20c4f2b28aa592527961bb32170ebbd2c9172f.info Lines: 56.7 % 240 136
Test Date: 2025-07-16 12:29:03 Functions: 34.5 % 55 19

Function Name Sort by function name Hit count Sort by function hit count
<utils::logging::HadronCriticalStorageEventCountMetric>::inc 0
<utils::logging::HadronCriticalStorageEventCountMetric>::new 0
<utils::logging::LogFormat>::from_config 0
<utils::logging::LogFormat>::from_config::{closure#0} 0
<utils::logging::PrettyLocation as core::fmt::Debug>::fmt 0
<utils::logging::PrettyLocation as core::fmt::Display>::fmt 3
<utils::logging::SecretString as core::convert::From<alloc::string::String>>::from 0
<utils::logging::SecretString as core::fmt::Debug>::fmt 0
<utils::logging::SecretString as core::str::traits::FromStr>::from_str 0
<utils::logging::SecretString>::get_contents 0
<utils::logging::TracingEventCountLayer as tracing_subscriber::layer::Layer<tracing_subscriber::registry::sharded::Registry>>::on_event 20473
+ core::marker::Send + core::marker::Sync>, tracing_subscriber::filter::env::EnvFilter, tracing_subscriber::registry::sharded::Registry>, tracing_subscriber::registry::sharded::Registry>>>::on_event 20468
>::on_event 5
<utils::logging::TracingEventCountMetric>::inc_critical 0
<utils::logging::TracingEventCountMetric>::inc_for_level 20473
<utils::logging::TracingEventCountMetric>::new 198
<utils::logging::TracingPanicHookGuard as core::ops::drop::Drop>::drop 2
<utils::logging::TracingPanicHookGuard>::forget 2
<utils::logging::TracingPanicHookGuard>::new 2
utils::logging::HADRON_CRITICAL_STORAGE_EVENT_COUNT_METRIC::{closure#0} 0
utils::logging::TRACING_EVENT_COUNT_METRIC::{closure#0} 197
utils::logging::init 197
utils::logging::init::{closure#0} 521
utils::logging::init::{closure#0}::{closure#0} 521
utils::logging::init::{closure#1} 0
utils::logging::log_panic_to_stderr 0
utils::logging::log_slow::<_, _> 0
utils::logging::log_slow::<_, _> 0
utils::logging::log_slow::>, tracing::span::Span), postgres_backend::QueryError>, ::pagestream_dispatch_batched_message::{closure#0}> 0
utils::logging::log_slow::<_, _>::{closure#0} 0
utils::logging::log_slow::<_, _>::{closure#0}::{closure#0} 0
utils::logging::log_slow::<core::result::Result<(alloc::vec::Vec<core::result::Result<(pageserver_api::pagestream_api::PagestreamBeMessage, pageserver::metrics::SmgrOpTimer, pageserver::context::RequestContext), pageserver::page_service::BatchedPageStreamError>>, tracing::span::Span), postgres_backend::QueryError>, <pageserver::page_service::PageServerHandler>::pagestream_dispatch_batched_message::{closure#0}>::{closure#0} 0
utils::logging::log_slow::<core::result::Result<(alloc::vec::Vec<core::result::Result<(pageserver_api::pagestream_api::PagestreamBeMessage, pageserver::metrics::SmgrOpTimer, pageserver::context::RequestContext), pageserver::page_service::BatchedPageStreamError>>, tracing::span::Span), postgres_backend::QueryError>, <pageserver::page_service::PageServerHandler>::pagestream_dispatch_batched_message::{closure#0}>::{closure#0}::{closure#0} 0
utils::logging::monitor_slow_future::<<utils::seqwait::SeqWait<utils::lsn::RecordLsn, utils::lsn::Lsn>>::wait_for_timeout::{closure#0}, core::result::Result<(), utils::seqwait::SeqWaitError>, <pageserver::tenant::timeline::Timeline>::wait_lsn::{closure#0}::{closure#0}>::{closure#0} 112980
utils::logging::monitor_slow_future::<::pagestream_dispatch_batched_message::{closure#0}, core::result::Result<(alloc::vec::Vec>, tracing::span::Span), postgres_backend::QueryError>, utils::logging::log_slow>, tracing::span::Span), postgres_backend::QueryError>, ::pagestream_dispatch_batched_message::{closure#0}>::{closure#0}::{closure#0}>::{closure#0} 0
utils::logging::monitor_slow_future::<::get::{closure#0}, core::result::Result, utils::logging::warn_slow, ::get::{closure#0}>::{closure#0}::{closure#0}>::{closure#0} 0
utils::logging::monitor_slow_future::<::get::{closure#0}, core::result::Result, utils::logging::warn_slow, ::get::{closure#0}>::{closure#0}::{closure#0}>::{closure#0} 0
utils::logging::monitor_slow_future::<>::wait_for_timeout::{closure#0}, core::result::Result<(), utils::seqwait::SeqWaitError>, ::wait_lsn::{closure#0}::{closure#0}>::{closure#0} 112980
utils::logging::monitor_slow_future::<_, _, _> 112980
utils::logging::monitor_slow_future::<::pagestream_dispatch_batched_message::{closure#0}, core::result::Result<(alloc::vec::Vec>, tracing::span::Span), postgres_backend::QueryError>, utils::logging::log_slow>, tracing::span::Span), postgres_backend::QueryError>, ::pagestream_dispatch_batched_message::{closure#0}>::{closure#0}::{closure#0}> 0
utils::logging::monitor_slow_future::<::get::{closure#0}, core::result::Result, utils::logging::warn_slow, ::get::{closure#0}>::{closure#0}::{closure#0}> 0
utils::logging::monitor_slow_future::<::get::{closure#0}, core::result::Result, utils::logging::warn_slow, ::get::{closure#0}>::{closure#0}::{closure#0}> 0
utils::logging::monitor_slow_future::<>::wait_for_timeout::{closure#0}, core::result::Result<(), utils::seqwait::SeqWaitError>, ::wait_lsn::{closure#0}::{closure#0}> 112980
utils::logging::monitor_slow_future::<_, _, _> 0
utils::logging::monitor_slow_future::<_, _, _>::{closure#0} 0
utils::logging::replace_panic_hook_with_tracing_panic_hook 2
utils::logging::tests::tracing_event_count_metric 1
utils::logging::tests::tracing_event_count_metric::{closure#0} 1
utils::logging::tracing_panic_hook 3
utils::logging::tracing_panic_hook::{closure#0} 3
utils::logging::warn_slow::<_, _> 0
utils::logging::warn_slow::<_, _> 0
utils::logging::warn_slow::, ::get::{closure#0}> 0
utils::logging::warn_slow::, ::get::{closure#0}> 0
utils::logging::warn_slow::<_, _>::{closure#0} 0
utils::logging::warn_slow::<_, _>::{closure#0}::{closure#0} 0
utils::logging::warn_slow::<core::result::Result<pageserver_client_grpc::pool::ClientGuard, tonic::status::Status>, <pageserver_client_grpc::pool::ClientPool>::get::{closure#0}>::{closure#0} 0
utils::logging::warn_slow::, ::get::{closure#0}>::{closure#0} 0
utils::logging::warn_slow::, ::get::{closure#0}>::{closure#0} 0
utils::logging::warn_slow::<core::result::Result<pageserver_client_grpc::pool::ClientGuard, tonic::status::Status>, <pageserver_client_grpc::pool::ClientPool>::get::{closure#0}>::{closure#0}::{closure#0} 0
utils::logging::warn_slow::, ::get::{closure#0}>::{closure#0}::{closure#0} 0
utils::logging::warn_slow::, ::get::{closure#0}>::{closure#0}::{closure#0} 0

Generated by: LCOV version 2.1-beta