mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
Due to the potentially large number of per-table metrics, ScyllaDB uses configuration to determine what metrics will be reported. The user can decide if they want per-table-per-shard metrics, per-table-per-instance metrics, or none. This patch uses the same logic for tablet metrics registration. It adds a new metrics group tablets with one metric inside it - count. So, scylla_tablets_count will report the number of tablets per shard. The existing per-table metrics will be reported aggregated or not like the other per-table metrics. Signed-off-by: Amnon Heiman <amnon@scylladb.com> Closes scylladb/scylladb#17182