tarantool / tarantool/doc

`tt status` supports JSON and YAML output formats

Open
#5,636 0 comments 0 reactions 1 assignee View on GitHub

@xuniq is already working on this.

Since Apr 20, 2026.

tt cli
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

The tt status command now supports multiple output formats:

  • Table format (default, human-readable)
  • JSON format (machine-readable, for automation)
  • YAML format (machine-readable, for automation)

Usage:

  • tt status - default table output
  • tt status --format=json - JSON output
  • tt status --format=yaml - YAML output

--pretty option is deprecated in favor of --format=pretty-table.

The JSON and YAML formats include all status information:

  • Instance name
  • Status (RUNNING, STOPPED, etc.)
  • PID (if running)
  • Mode (RW/RO)
  • Config status
  • Box status
  • Upstream status
  • Alerts (with severity levels)

Example JSON output:

{
  "app:master": {
    "status": "RUNNING",
    "pid": 12345,
    "mode": "RW",
    "config": "ready",
    "box": "running",
    "upstream": "--",
    "alerts": []
  }
}

Requested by @psergee in https://github.com/tarantool/tt/commit/dbfd762da7cba5d8600ea5dde9f82671aa9c0801.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.