Nadav Har'El
e322902506
Merge 'index, metrics: add per-index metrics' from Michał Hudobski
...
This patch adds the possibility to track metrics
per secondary index. Currently, only a histogram
of query latencies is tracked, but more metrics
can be added in the future. To add a new metric,
it needs to be added to the index_metrics struct
in index/secondary_index_manager.hh and then
initialized in index/secondary_index_manager.cc
in the constructor of the index_metrics struct.
The metrics are created when the index is created
and removed when the index is dropped.
First lines of the new metric:
\# HELP scylla_index_query_latencies Index query latencies
\# TYPE scylla_index_query_latencies histogram
scylla_index_query_latencies_sum{idx="test_i_idx",ks="test"} 640
scylla_index_query_latencies_count{idx="test_i_idx",ks="test"} 1
scylla_index_query_latencies_bucket{idx="test_i_idx",ks="test",le="640.000000"} 1
scylla_index_query_latencies_bucket{idx="test_i_idx",ks="test",le="768.000000"} 1
Fixes: https://github.com/scylladb/scylladb/issues/25970
Closes scylladb/scylladb#25995
* github.com:scylladb/scylladb:
test: verify that the index metric is added
index, metrics: add per-index metrics
2025-09-17 14:54:12 +03:00
..
2025-08-27 13:47:04 +03:00
2025-08-21 19:29:36 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-08-20 17:20:20 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-08-28 23:33:15 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-08-27 13:00:10 +02:00
2025-02-06 08:55:51 +02:00
2024-12-18 17:45:13 +02:00
2025-03-31 09:43:22 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-09-10 15:16:54 +02:00
2025-07-13 19:13:11 +03:00
2025-08-21 19:29:36 +02:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-27 13:47:04 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-09-03 15:21:37 +02:00
2025-06-30 19:12:14 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-27 08:55:47 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-09-10 15:16:54 +02:00
2025-09-10 15:16:54 +02:00
2025-07-07 13:47:06 +02:00
2025-07-07 13:47:06 +02:00
2025-08-28 01:42:29 +02:00
2025-08-13 01:51:53 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 15:01:05 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-08-28 23:33:15 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-14 09:59:16 +02:00
2025-08-13 01:51:53 +02:00
2025-08-13 01:51:53 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-09-17 14:54:12 +03:00
2025-09-16 14:03:43 +02:00
2025-01-15 15:01:05 +01:00
2025-01-15 15:01:05 +01:00
2025-01-02 07:13:34 +01:00
2025-01-02 07:13:34 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00