iproto: implement getting statistics for iproto streams
Currently there are several statistic metrics for iproto, which can be obtained by using `box.stat.net`: `CONNECTIONS`, `REQUESTS`, `SENT` and `RECEIVED`. Add new metric `STREAMS` which contain statistics for iproto streams. Part of #6293 @TarantoolBot document Title: getting statistics for iproto streams was implemented Add new metric `STREAMS` to `box.stat.net`, which contain statistics for iproto streams. `STREAMS` contains same counters as `CONNECTIONS` metric in `box.stat.net`: current, rps and total. For example: STREAMS: current: 0 rps: 17980 totat: 112623
Showing
- changelogs/unreleased/gh-6293-iproto-streams-stats.md 5 additions, 0 deletionschangelogs/unreleased/gh-6293-iproto-streams-stats.md
- src/box/iproto.cc 29 additions, 35 deletionssrc/box/iproto.cc
- src/box/iproto.h 13 additions, 0 deletionssrc/box/iproto.h
- src/box/lua/stat.c 9 additions, 0 deletionssrc/box/lua/stat.c
- src/lib/core/errinj.h 0 additions, 2 deletionssrc/lib/core/errinj.h
- test/box-tap/feedback_daemon.test.lua 1 addition, 1 deletiontest/box-tap/feedback_daemon.test.lua
- test/box/errinj.result 0 additions, 2 deletionstest/box/errinj.result
- test/box/gh-5645-several-iproto-threads.result 42 additions, 15 deletionstest/box/gh-5645-several-iproto-threads.result
- test/box/gh-5645-several-iproto-threads.test.lua 34 additions, 15 deletionstest/box/gh-5645-several-iproto-threads.test.lua
- test/box/net.box_iproto_streams.result 36 additions, 22 deletionstest/box/net.box_iproto_streams.result
- test/box/net.box_iproto_streams.test.lua 20 additions, 6 deletionstest/box/net.box_iproto_streams.test.lua
- test/box/net.box_iproto_transactions_over_streams.result 26 additions, 24 deletionstest/box/net.box_iproto_transactions_over_streams.result
- test/box/net.box_iproto_transactions_over_streams.test.lua 26 additions, 24 deletionstest/box/net.box_iproto_transactions_over_streams.test.lua
- test/box/suite.ini 1 addition, 1 deletiontest/box/suite.ini
Loading
Please register or sign in to comment