-
Notifications
You must be signed in to change notification settings - Fork 43
Labels
Description
Product: tt cli
Since: tt 2.5.0
Audience/target: all
Root document:
- https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli/status/
- check tt status output examples throughout the docs
- (?) somewhere in the Configuration section
SME: @ mandesero
Details
The tt status command now displays statuses reported by config:info(),
box.info, and box.info.replication*.upstream. Additionally, you can
now view detailed reports of errors and warnings using the
tt status --details option.
Example:
You have an invalid config:
...
invalid_option:
...When you try to apply this config, you can check the status of the Tarantool
instance using tt status. You'll see that there is an error in the instance:
INSTANCE STATUS PID MODE CONFIG BOX UPSTREAM
app2:storage-001-b RUNNING 168040 RO check_errors running follow
To view detailed alerts, you can use the --details option with tt status:
Instance app2:storage-001-b:
[config][error]: [cluster_config] Unexpected field "invalid_option"
INSTANCE STATUS PID MODE CONFIG BOX UPSTREAM
app2:storage-001-b RUNNING 168040 RO check_errors running follow
Requested by @mandesero in tarantool/tt@ec6bef8.