-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement statistic for iproto streams and remove in from errinj
#6293
Comments
Let's add the key STREAMS:
active: 12
requests:
total: 123
rps: 2 # last 5 second
threads:
- active: 12 # count of active streams
requests:
total: 123
rps: 2 # last 5 second
- active: 0
requests:
total: 0
rps: 0 |
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 25, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 25, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 25, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 26, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 26, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps and total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 26, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps and total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps and total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now getting network statistic per thread was implemented. For example if user run three iproto threads `SEND` metric for network statistic: SENT: threads: - total: 0 rps: 0 - total: 0 rps: 0 - total: 48452 rps: 5795 rps: 5795 total: 48452 `threads` metric was added, it contains statistics per thread.
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps, total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now getting network statistic per thread was implemented. For example if user run three iproto threads `SEND` metric for network statistic: SENT: threads: - total: 0 rps: 0 - total: 0 rps: 0 - total: 48452 rps: 5795 rps: 5795 total: 48452 `threads` metric was added, it contains statistics per thread.
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps, total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now getting network statistic per thread was implemented. For example if user run three iproto threads `SEND` metric for network statistic: SENT: threads: - total: 0 rps: 0 - total: 0 rps: 0 - total: 48452 rps: 5795 rps: 5795 total: 48452 `threads` metric was added, it contains statistics per thread.
EvgenyMekhanik
added a commit
that referenced
this issue
Aug 27, 2021
…at.net` 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. Closes #6293 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 other metrics in `box.stat.net`: current, rps, total and threads. For example: STREAMS: current: 0 rps: 17980 totat: 112623 threads: total: 0 rps: 0 total: 112623 rps: 17980
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. In this patch `box.stat.net.thread` was implemented, it can be used for getting same statistics as from `box.stat.net` but per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now `box.stat.net.thread` was implemented for getting same statistics as when using `box.stat.net` but per thread. User can called it as a function `box.stat.net.thread()` for getting common network statistic per thread. For example for two iproto threads: --- - - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ... Also user can indexed it as a table by thread number. For example `box.stat.net.thread[1]` returns network statistic for first iproto thread: --- - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ...
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
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. Closes #6293 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 other metrics in `box.stat.net`: current, rps and total. For example: STREAMS: current: 0 rps: 17980 totat: 112623
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. In this patch `box.stat.net.thread` was implemented, it can be used for getting same statistics as from `box.stat.net` but per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now `box.stat.net.thread` was implemented for getting same statistics as when using `box.stat.net` but per thread. User can called it as a function `box.stat.net.thread()` for getting common network statistic per thread. For example for two iproto threads: --- - - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ... Also user can indexed it as a table by thread number. For example `box.stat.net.thread[1]` returns network statistic for first iproto thread: --- - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ...
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
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. Closes #6293 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 other metrics in `box.stat.net`: current, rps and total. For example: STREAMS: current: 0 rps: 17980 totat: 112623
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
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. Closes #6293 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
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
Currently getting iproto statistics per thread is possible only in debug mode, using `ERRINJ_IPROTO_SINGLE_THREAD_STAT` (it can be used only in tests). This way have several disadvantages: first of all `errinj` is not a place to get statistics, secondly user may be interested in getting iproto statistics per thread. In this patch `box.stat.net.thread` was implemented, it can be used for getting same statistics as from `box.stat.net` but per thread. Part of #6293 @TarantoolBot document Title: getting network statistic per thread was implemented User has possibility to run several iproto threads, but at the moment he can get only general statistics, which combines statistics for all threads. Now `box.stat.net.thread` was implemented for getting same statistics as when using `box.stat.net` but per thread. User can called it as a function `box.stat.net.thread()` for getting common network statistic per thread. For example for two iproto threads: --- - - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ... Also user can indexed it as a table by thread number. For example `box.stat.net.thread[1]` returns network statistic for first iproto thread: --- - SENT: total: 0 rps: 0 CONNECTIONS: current: 0 rps: 0 total: 0 REQUESTS: current: 0 rps: 0 total: 0 RECEIVED: total: 0 rps: 0 ...
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 2, 2021
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. Closes #6293 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
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 17, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). Closes #6293 @TarantoolBot document Title: getting statistics for queues of iproto streams was implemented Add new metric `STREAM_QUEUE_MAX` to `box.stat.net`. This metric contains two counters `current` (displays the current length of the longest stream queue) and `total` (displays the maximal length of the stream queue for all time). ``` STREAM_QUEUE_MAX current: -- current length of the longest stream queue total: -- maximal length of the stream queue for all time ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 27, 2021
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 ```
EvgenyMekhanik
added a commit
that referenced
this issue
Sep 28, 2021
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 ```
Korablev77
pushed a commit
that referenced
this issue
Sep 30, 2021
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 ```
12 tasks
locker
added a commit
to locker/tarantool
that referenced
this issue
Mar 13, 2023
The test checks that the number of IPROTO requests handled by a test server is reported correctly in statistics. Since a net.box connection sends a few "service" requests (e.g. to fetch schema), the test excludes them from the total count. The problem is this doesn't always work with service requests sent to enable graceful shutdown. To enable graceful shutdown a client sends an IPROTO_WATCH request. The server replies to the client with IPROTO_EVENT. Upon receiving the event, the client sends another IPROTO_WATCH request to ack it. The whole procedure is fully asynchronous, which means it may finish after we start processing user requests over the connection. To correctly account service requests, let's disable this feature. Closes tarantool/tarantool-qa#269 NO_DOC=test fix NO_CHANGELOG=test fix
locker
added a commit
that referenced
this issue
Mar 13, 2023
The test checks that the number of IPROTO requests handled by a test server is reported correctly in statistics. Since a net.box connection sends a few "service" requests (e.g. to fetch schema), the test excludes them from the total count. The problem is this doesn't always work with service requests sent to enable graceful shutdown. To enable graceful shutdown a client sends an IPROTO_WATCH request. The server replies to the client with IPROTO_EVENT. Upon receiving the event, the client sends another IPROTO_WATCH request to ack it. The whole procedure is fully asynchronous, which means it may finish after we start processing user requests over the connection. To correctly account service requests, let's disable this feature. Closes tarantool/tarantool-qa#269 NO_DOC=test fix NO_CHANGELOG=test fix
locker
added a commit
that referenced
this issue
Mar 13, 2023
The test checks that the number of IPROTO requests handled by a test server is reported correctly in statistics. Since a net.box connection sends a few "service" requests (e.g. to fetch schema), the test excludes them from the total count. The problem is this doesn't always work with service requests sent to enable graceful shutdown. To enable graceful shutdown a client sends an IPROTO_WATCH request. The server replies to the client with IPROTO_EVENT. Upon receiving the event, the client sends another IPROTO_WATCH request to ack it. The whole procedure is fully asynchronous, which means it may finish after we start processing user requests over the connection. To correctly account service requests, let's disable this feature. Closes tarantool/tarantool-qa#269 NO_DOC=test fix NO_CHANGELOG=test fix (cherry picked from commit 4e9bffc)
locker
added a commit
that referenced
this issue
Mar 13, 2023
The test checks that the number of IPROTO requests handled by a test server is reported correctly in statistics. Since a net.box connection sends a few "service" requests (e.g. to fetch schema), the test excludes them from the total count. The problem is this doesn't always work with service requests sent to enable graceful shutdown. To enable graceful shutdown a client sends an IPROTO_WATCH request. The server replies to the client with IPROTO_EVENT. Upon receiving the event, the client sends another IPROTO_WATCH request to ack it. The whole procedure is fully asynchronous, which means it may finish after we start processing user requests over the connection. To correctly account service requests, let's disable this feature. Closes tarantool/tarantool-qa#269 NO_DOC=test fix NO_CHANGELOG=test fix (cherry picked from commit 4e9bffc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
errinj
to check that there is no memory leak in streams. Discuss what statistics are needed for streams, add it and remove statistics for streams from errinj.number, which determine for what thread we want to get statistic. May be in this issue discuss and resolve it in other way.
The text was updated successfully, but these errors were encountered: