iproto: implement detailed requests statistics
Add new metrics `REQUESTS_IN_PROGRESS` and `REQUESTS_IN_STREAM_QUEUE` to `box.stat.net`, which contain detailed statistics for iproto requests. These metrics contains same counters as other metrics in `box.stat.net`: current, rps and total. Part of #6293 @TarantoolBot document Title: detailed iproto requests statistics was implemented Add new metrics `REQUESTS_IN_PROGRESS` and `REQUESTS_IN_STREAM_QUEUE` to `box.stat.net`, which contain detailed statistics for iproto requests. These metrics contains same counters as other metrics in `box.stat.net`: current, rps and total. ``` -- statistics for requests currently being processed in tx thread. REQUESTS_IN_PROGRESS: current: -- count of requests currently being processed in the tx thread rps: -- count of requests processed by the tx thread per second total: -- total count of requests processed by tx thread -- statistics for requests placed in queues of streams. REQUESTS_IN_STREAM_QUEUE: current: -- count of requests currently waiting in queues of streams rps: -- count of requests placed in streams queues per second total: -- total count of requests, which was placed in queues of streams for all time ```
Showing
- changelogs/unreleased/gh-6293-implement-detailed-iproto-requests-stats.md 6 additions, 0 deletions...eased/gh-6293-implement-detailed-iproto-requests-stats.md
- src/box/iproto.cc 114 additions, 24 deletionssrc/box/iproto.cc
- src/box/iproto.h 4 additions, 0 deletionssrc/box/iproto.h
- src/box/lua/stat.c 15 additions, 1 deletionsrc/box/lua/stat.c
- test/box-tap/feedback_daemon.test.lua 1 addition, 1 deletiontest/box-tap/feedback_daemon.test.lua
- test/box/gh-6293-implement-new-net-stat.lua 11 additions, 0 deletionstest/box/gh-6293-implement-new-net-stat.lua
- test/box/gh-6293-implement-new-net-stat.result 287 additions, 0 deletionstest/box/gh-6293-implement-new-net-stat.result
- test/box/gh-6293-implement-new-net-stat.test.lua 199 additions, 0 deletionstest/box/gh-6293-implement-new-net-stat.test.lua
Loading
Please register or sign in to comment