MXS-3240: Document /maxscale/threads/:id values
The values are somewhat cryptic without documentation.
This commit is contained in:
@ -120,22 +120,20 @@ value of `threads`.
|
|||||||
"type": "threads",
|
"type": "threads",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"stats": {
|
"stats": {
|
||||||
"reads": 2,
|
"reads": 2, // Number of EPOLLIN events
|
||||||
"writes": 0,
|
"writes": 0, // number of EPOLLOUT events
|
||||||
"errors": 0,
|
"errors": 0, // Number of EPOLLERR events
|
||||||
"hangups": 0,
|
"hangups": 0, // Number of EPOLLHUP or EPOLLRDHUP events
|
||||||
"accepts": 0,
|
"accepts": 0, // Number of EPOLLIN events for listeners
|
||||||
"blocking_polls": 180,
|
"max_event_queue_length": 1, // Maximum number of events returned by epoll
|
||||||
"event_queue_length": 1,
|
"max_exec_time": 0, // Maximum number of internal ticks (100ms per tick) an event took to execute
|
||||||
"max_event_queue_length": 1,
|
"max_queue_time": 0, // Maximum number of internal ticks that an event waited in the queue
|
||||||
"max_exec_time": 0,
|
"current_descriptors": 1, // How many file descriptors this thread is handling
|
||||||
"max_queue_time": 0,
|
"total_descriptors": 1, // Total number of file descriptors added to this thread
|
||||||
"current_descriptors": 1,
|
"load": { // Thread load in percentages i.e. 100 is 100%
|
||||||
"total_descriptors": 1,
|
"last_second": 0, // Load over the past second
|
||||||
"load": {
|
"last_minute": 0, // Load over the past minute
|
||||||
"last_second": 0,
|
"last_hour": 0 // Load over the past hour
|
||||||
"last_minute": 0,
|
|
||||||
"last_hour": 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user