Shard Galleries Statistics

You can get a shard galleries statistics and other data right in your browser. This functionality can be harnessed in monitoring systems.

Note

In the case of standalone deployment, you can access Tarantool by default only locally (127.0.0.1). If you want to access Tarantool remotely, change the Tarantool configuration file.

In this section:

List Galleries

To list all galleries on a shard, type in the address bar of your browser:

http://<tarantool_host_ip:shard_port>/stat/list/:start/:limit
:start is the number of a gallery the list starts with.
:limit is the maximum number of galleries in the list.

Example

Request

http://127.0.0.1:8001/stat/list/1/99
or
curl http://127.0.0.1:8001/stat/list/1/99 \| jq

Response

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6700  100  6700    0     0  45812      0 --:--:-- --:--:-- --:--:-- 45890
{
  "galleries": [
    {
      "cnt_indexed": 0,
      "id": 1,
      "cnt_preindex": 0,
      "name": "591b0cdfb0d5bd7058ef0968_default",
      "cnt_linear": 35268
    },
    {
      "cnt_indexed": 0,
      "id": 2,
      "cnt_preindex": 0,
      "name": "591b0cdfb0d5bd7058ef0968_lublino",
      "cnt_linear": 1818
    },
    {
      "cnt_indexed": 0,
      "id": 3,
      "cnt_preindex": 0,
      "name": "591b0cdfb0d5bd7058ef0968_gifs",
      "cnt_linear": 297
    }
  ],
  "total": 3
}