Skip to content

Commit de5f4fb

Browse files
authored
Update example in box.stat() and fix typos (#3112)
Fixes #3104
1 parent b97a4b0 commit de5f4fb

File tree

2 files changed

+28
-16
lines changed

2 files changed

+28
-16
lines changed

doc/reference/reference_lua/box_stat/stat.rst

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
box.stat()
22
==========
33

4-
.. module:: box
4+
.. module:: box
55

6-
.. function:: stat()
6+
.. function:: stat()
77

88
Shows the total number of requests since startup and
99
the average number of requests per second,
@@ -18,42 +18,54 @@ box.stat()
1818

1919
**Example:**
2020

21-
.. code-block:: tarantoolsession
21+
.. code-block:: tarantoolsession
2222
23-
tarantool> box.stat() -- return 11 tables
23+
tarantool> box.stat() -- return 15 tables
2424
---
2525
- DELETE:
26-
total: 1873949
27-
rps: 123
26+
total: 0
27+
rps: 0
28+
COMMIT:
29+
total: 0
30+
rps: 0
2831
SELECT:
29-
total: 1237723
30-
rps: 4099
31-
INSERT:
32+
total: 12
33+
rps: 0
34+
ROLLBACK:
3235
total: 0
3336
rps: 0
37+
INSERT:
38+
total: 6
39+
rps: 0
3440
EVAL:
3541
total: 0
3642
rps: 0
43+
ERROR:
44+
total: 0
45+
rps: 0
3746
CALL:
3847
total: 0
3948
rps: 0
49+
BEGIN:
50+
total: 0
51+
rps: 0
52+
PREPARE:
53+
total: 0
54+
rps: 0
4055
REPLACE:
41-
total: 1239123
42-
rps: 7849
43-
UPSERT:
4456
total: 0
4557
rps: 0
46-
AUTH:
58+
UPSERT:
4759
total: 0
4860
rps: 0
49-
ERROR:
61+
AUTH:
5062
total: 0
5163
rps: 0
5264
EXECUTE:
5365
total: 0
5466
rps: 0
5567
UPDATE:
56-
total: 0
68+
total: 2
5769
rps: 0
5870
...
5971

doc/release/1.10_series.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
1.10.x (LTS)
3-
======
3+
============
44

55
Tarantool 1.10 LTS series includes the following releases:
66

0 commit comments

Comments
 (0)