LCOV - code coverage report
Current view: top level - safekeeper/src - metrics.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 93.6 % 561 525
Test Date: 2024-02-14 18:05:35 Functions: 77.2 % 57 44

Function Name Sort by function name Hit count Sort by function hit count
<safekeeper::metrics::ConnectionLabels as core::clone::Clone>::clone 0
<safekeeper::metrics::ConnectionLabels>::build_metrics 7397
<safekeeper::metrics::ConnectionLabels>::new 3312
<safekeeper::metrics::FullTimelineInfo as core::clone::Clone>::clone 0
<safekeeper::metrics::TimelineCollector as core::default::Default>::default 0
<safekeeper::metrics::TimelineCollector as prometheus::metrics::Collector>::collect 19
<safekeeper::metrics::TimelineCollector as prometheus::metrics::Collector>::collect::{closure#0} 19
<safekeeper::metrics::TimelineCollector as prometheus::metrics::Collector>::desc 510
<safekeeper::metrics::TimelineCollector>::new 510
<safekeeper::metrics::TrafficMetrics as core::clone::Clone>::clone 3312
<safekeeper::metrics::TrafficMetrics as core::default::Default>::default 0
<safekeeper::metrics::TrafficMetrics>::new 3312
<safekeeper::metrics::TrafficMetrics>::observe_read 2672812
<safekeeper::metrics::TrafficMetrics>::observe_write 2297548
<safekeeper::metrics::TrafficMetrics>::set_app_name 770
<safekeeper::metrics::TrafficMetrics>::set_client_az 3
<safekeeper::metrics::TrafficMetrics>::set_sk_az 3312
<safekeeper::metrics::WalStorageMetrics as core::clone::Clone>::clone 714
::clone 51
::default 663
<safekeeper::metrics::WalStorageMetrics>::observe_flush_seconds 0
<safekeeper::metrics::WalStorageMetrics>::observe_write_bytes 1512541
<safekeeper::metrics::WalStorageMetrics>::observe_write_seconds 1512541
safekeeper::metrics::BACKED_UP_SEGMENTS::{closure#0} 6
safekeeper::metrics::BACKED_UP_SEGMENTS::{closure#0}::{closure#0} 6
safekeeper::metrics::BACKUP_ERRORS::{closure#0} 0
safekeeper::metrics::BACKUP_ERRORS::{closure#0}::{closure#0} 0
safekeeper::metrics::BROKER_ITERATION_TIMELINES::{closure#0} 509
safekeeper::metrics::BROKER_ITERATION_TIMELINES::{closure#0}::{closure#0} 509
safekeeper::metrics::BROKER_PULLED_UPDATES::{closure#0} 509
safekeeper::metrics::BROKER_PULLED_UPDATES::{closure#0}::{closure#0} 509
safekeeper::metrics::BROKER_PUSHED_UPDATES::{closure#0} 426
safekeeper::metrics::BROKER_PUSHED_UPDATES::{closure#0}::{closure#0} 426
safekeeper::metrics::BROKER_PUSH_ALL_UPDATES_SECONDS::{closure#0} 509
safekeeper::metrics::BROKER_PUSH_ALL_UPDATES_SECONDS::{closure#0}::{closure#0} 509
safekeeper::metrics::FLUSH_WAL_SECONDS::{closure#0} 0
safekeeper::metrics::FLUSH_WAL_SECONDS::{closure#0}::{closure#0} 0
safekeeper::metrics::PERSIST_CONTROL_FILE_SECONDS::{closure#0} 438
safekeeper::metrics::PERSIST_CONTROL_FILE_SECONDS::{closure#0}::{closure#0} 438
safekeeper::metrics::PG_IO_BYTES::{closure#0} 438
safekeeper::metrics::PG_IO_BYTES::{closure#0}::{closure#0} 438
safekeeper::metrics::PG_QUERIES_GAUGE::{closure#0} 438
safekeeper::metrics::PG_QUERIES_GAUGE::{closure#0}::{closure#0} 876
safekeeper::metrics::PG_QUERIES_GAUGE::{closure#0}::{closure#0} 438
safekeeper::metrics::PG_QUERIES_GAUGE::{closure#0}::{closure#1} 438
safekeeper::metrics::REMOVED_WAL_SEGMENTS::{closure#0} 7
safekeeper::metrics::REMOVED_WAL_SEGMENTS::{closure#0}::{closure#0} 7
safekeeper::metrics::WRITE_WAL_BYTES::{closure#0} 431
safekeeper::metrics::WRITE_WAL_BYTES::{closure#0}::{closure#0} 431
safekeeper::metrics::WRITE_WAL_SECONDS::{closure#0} 431
safekeeper::metrics::WRITE_WAL_SECONDS::{closure#0}::{closure#0} 431
safekeeper::metrics::collect_timeline_metrics 38
safekeeper::metrics::collect_timeline_metrics 19
safekeeper::metrics::collect_timeline_metrics::{closure#0} 19
safekeeper::metrics::time_io_closure::<std::io::error::Error, <tokio::fs::file::File>::sync_data::{closure#0}> 1512541
safekeeper::metrics::time_io_closure::::write_exact::{closure#0}> 1512541
safekeeper::metrics::time_io_closure::::sync_data::{closure#0}> 0
safekeeper::metrics::time_io_closure::<std::io::error::Error, <tokio::fs::file::File>::sync_data::{closure#0}>::{closure#0} 1512541
safekeeper::metrics::time_io_closure::::write_exact::{closure#0}>::{closure#0} 1512541
safekeeper::metrics::time_io_closure::::sync_data::{closure#0}>::{closure#0} 0
safekeeper::metrics::time_io_closure::<std::io::error::Error, <tokio::fs::file::File>::sync_data::{closure#0}>::{closure#0}::{closure#0} 0
safekeeper::metrics::time_io_closure::::write_exact::{closure#0}>::{closure#0}::{closure#0} 0
safekeeper::metrics::time_io_closure::::sync_data::{closure#0}>::{closure#0}::{closure#0} 0

Generated by: LCOV version 2.1-beta