This topic describes the monitoring metrics related to the LogService thread pool.
logservice_nonblocking_thread_pool_worker_count
Metric description
The number of worker threads in the nonblocking thread pool, which reflects the busyness of the thread pool. It is categorized by module.
Parameter description
Metrics |
Metric Name |
unit |
|---|---|---|
| thread_pool_worker_count{pool_type="nonblocking"} | logservice_nonblocking_thread_pool_worker_count | - |
Calculation expression
sum(rate(thread_pool_worker_count{pool_type="nonblocking",@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Collect the thread_pool_worker_count metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
logservice_nonblocking_thread_pool_queue_depth
Metric description
The average backlog depth of the nonblocking thread pool task queue, categorized by module.
Parameter description
Metrics |
Metric Name |
unit |
|---|---|---|
| thread_pool_queue_depth{pool_type="nonblocking"} | logservice_nonblocking_thread_pool_queue_depth | - |
Calculation expression
avg(thread_pool_queue_depth{pool_type="nonblocking",@LABELS}) by (@GBLABELS)
Prometheus collection
Collect the thread_pool_queue_depth metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
logservice_nonblocking_thread_pool_active_task_count
Metric description
The number of tasks that are running but not finished in the nonblocking thread pool. This metric reflects the workload of the thread pool and is categorized by module.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| thread_pool_active_task_count{pool_type="nonblocking"} | logservice_nonblocking_thread_pool_active_task_count | - |
Calculation expression
sum(rate(thread_pool_active_task_count{pool_type="nonblocking",@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Collect the thread_pool_active_task_count metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
