Skip to content

Enhanced tt status with detailed information #4566

@TarantoolBot

Description

@TarantoolBot

Product: tt cli
Since: tt 2.5.0
Audience/target: all
Root document:

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.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions