page cache: add access & hit rate metrics (#4628)

Co-authored-by: Dmitry Rodionov <dmitry@neon.tech>
This commit is contained in:
Christian Schwarz
2023-07-05 10:38:32 +02:00
committed by GitHub
parent c7143dbde6
commit 3f9defbfb4
3 changed files with 114 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ PAGESERVER_GLOBAL_METRICS: Tuple[str, ...] = (
"libmetrics_tracing_event_count_total",
"pageserver_materialized_cache_hits_total",
"pageserver_materialized_cache_hits_direct_total",
"pageserver_page_cache_read_hits_total",
"pageserver_page_cache_read_accesses_total",
"pageserver_getpage_reconstruct_seconds_bucket",
"pageserver_getpage_reconstruct_seconds_count",
"pageserver_getpage_reconstruct_seconds_sum",