mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
This patch adds a metric for a node own operation mode, the operation_mode metric represent the enum modes as gauge values according to: UNKNOWN = 0, STARTING = 1, JOINING = 2, NORMAL = 3, LEAVING = 4, DECOMMISSIONED = 5, DRAINING = 6, DRAINED = 7, MOVING = 8 Fixes: #3482 Signed-off-by: Amnon Heiman <amnon@scylladb.com> Message-Id: <20180806142706.23579-1-amnon@scylladb.com>