Files
scylladb/replica
Avi Kivity cb3b808e3f Merge 'replica/table.cc: Add per-node-per-table metrics' from Amnon Heiman
Per-table metrics are very valuable for the users, it does come with a high load on both the reporting and the collecting metrics systems.

This patch adds a small subset of per-metrics table that will be reported on the node level.

The list of metrics is:
system_column_family_memtable_switch - Number of times flush has
  resulted in the memtable being switched out
system_column_family_memtable_partition_writes - Number of write
  operations performed on partitions in memtables
system_column_family_memtable_partition_hits - Number of times a write
  operation was issued on an existing partition in memtables
system_column_family_memtable_row_writes - Number of row writes
  performed in memtables
system_column_family_memtable_row_hits - Number of rows overwritten by write operations in memtables
system_column_family_total_disk_space - Total disk space used system_column_family_live_sstable - Live sstable count system_column_family_read_latency_count - Number of reads system_column_family_write_latency_count - Number of writes

The names of the read/write metrics is based on the histogram convention, so when latencies histograms will be added, the names will not change.

The metrics are label with a specific label __per_table="node" so it will be possible to easily manipulate it.

The metrics will be available when enable_metrics_reporting (the per-table full metrics flag) is off

Fixes #2198

Closes #13293

* github.com:scylladb/scylladb:
  replica/table.cc: Add node-per-table metrics
  config: add enable_node_table_metrics flag
2023-08-02 22:17:47 +03:00
..
2023-07-19 01:28:28 -04:00
2023-02-15 11:01:50 +02:00
2023-07-19 01:28:28 -04:00
2023-07-19 01:28:28 -04:00
2023-05-12 07:26:18 -04:00