Files
scylladb/replica
Amnon Heiman f4e82174b2 replica/table.cc: Align the tablet's behavior with other metrics.
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
2024-02-08 12:48:25 +01:00
..
2023-07-19 01:28:28 -04:00