Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Update git submodules
  Enable metrics for core queues
  WorkQueue: Add possibility to enable metrics

Change-Id: Id15a3d36d0a5e5fe41cf5fbb0746f19ee6df649e
This commit is contained in:
David Pursehouse
2018-06-06 15:51:45 +09:00
7 changed files with 169 additions and 16 deletions

View File

@@ -53,6 +53,29 @@ objects needing finalization.
* `query/query_latency`: Successful query latency, accumulated over the life
of the process.
=== Core Queues
The following queues support metrics:
* default `WorkQueue`
* index batch
* index interactive
* receive commits
* send email
* ssh batch worker
* ssh command start
* ssh interactive worker
* ssh stream worker
Each queue provides the following metrics:
* `queue/<queue_name>/pool_size`: Current number of threads in the pool
* `queue/<queue_name>/max_pool_size`: Maximum allowed number of threads in the pool
* `queue/<queue_name>/active_threads`: Number of threads that are actively executing tasks
* `queue/<queue_name>/scheduled_tasks`: Number of scheduled tasks in the queue
* `queue/<queue_name>/total_scheduled_tasks_count`: Total number of tasks that have been scheduled
* `queue/<queue_name>/total_completed_tasks_count`: Total number of tasks that have completed execution
=== SSH sessions
* `sshd/sessions/connected`: Number of currently connected SSH sessions.