Christian Schwarz
c45b56e0bb
pageserver: add counters for started smgr/getpage requests (#9069)
After this PR
```
curl localhost:9898/metrics | grep smgr_ | grep start
```
```
pageserver_smgr_query_started_count{shard_id="0000",smgr_query_type="get_page_at_lsn",tenant_id="...",timeline_id="..."} 0
pageserver_smgr_query_started_global_count{smgr_query_type="get_db_size"} 0
pageserver_smgr_query_started_global_count{smgr_query_type="get_page_at_lsn"} 0
pageserver_smgr_query_started_global_count{smgr_query_type="get_rel_exists"} 0
pageserver_smgr_query_started_global_count{smgr_query_type="get_rel_size"} 0
pageserver_smgr_query_started_global_count{smgr_query_type="get_slru_segment"} 0
```
We instantiate the per-tenant counter only for `get_page_at_lsn`.
2024-09-20 14:55:50 +01:00
..
2024-09-06 19:14:25 +03:00
2024-09-03 09:05:24 +01:00
2024-03-05 13:44:00 +00:00
2024-07-04 15:05:41 +01:00
2024-09-05 14:59:49 +02:00
2024-09-19 20:29:28 +00:00
2024-09-05 14:59:49 +02:00
2024-06-13 09:44:37 -04:00
2024-08-28 18:31:41 +00:00
2024-07-19 19:07:59 +03:00
2024-06-04 13:47:48 -04:00
2024-09-12 23:18:41 +01:00
2024-09-19 15:41:35 +03:00
2024-09-17 19:15:01 +02:00
2024-09-06 14:33:52 +02:00
2024-09-05 19:14:21 +01:00
2024-07-19 21:19:30 +02:00
2024-09-05 14:59:49 +02:00
2024-09-12 23:18:41 +01:00
2024-09-05 14:59:49 +02:00
2024-08-28 18:31:41 +00:00
2024-09-20 14:55:50 +01:00
2024-06-20 11:56:14 +02:00
2024-09-10 02:40:00 +02:00
2024-09-12 23:18:41 +01:00
2024-07-31 14:17:59 +02:00
2024-02-06 14:43:33 +00:00
2024-09-05 14:59:49 +02:00
2024-08-29 14:02:27 +02:00
2024-09-19 20:29:28 +00:00
2024-08-23 18:32:56 +01:00
2024-09-06 14:33:52 +02:00
2024-09-12 23:18:41 +01:00
2024-09-12 23:18:41 +01:00
2024-09-17 19:16:33 +00:00