You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by li...@apache.org on 2022/05/10 07:44:06 UTC

[pulsar] branch master updated: [DOC] pulsar web service executor metrics doc (#14745)

This is an automated email from the ASF dual-hosted git repository.

liuyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 830643c6fdd [DOC] pulsar web service executor metrics doc (#14745)
830643c6fdd is described below

commit 830643c6fdd71f8626bb0d249a7cda13c8defaf9
Author: Tao Jiuming <95...@users.noreply.github.com>
AuthorDate: Tue May 10 15:44:01 2022 +0800

    [DOC] pulsar web service executor metrics doc (#14745)
---
 site2/docs/reference-metrics.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/site2/docs/reference-metrics.md b/site2/docs/reference-metrics.md
index 58abef89158..4e49f59b73d 100644
--- a/site2/docs/reference-metrics.md
+++ b/site2/docs/reference-metrics.md
@@ -113,6 +113,7 @@ The following metrics are available for broker:
   - [Jetty metrics](#jetty-metrics)
   - [Schema metrics](#schema-metrics)
   - [Offload metrics](#offload-metrics)
+  - [Web service executor metrics](#web-service-executor-metrics)
 - [Pulsar Functions](#pulsar-functions)
 - [Proxy](#proxy)
 - [Pulsar SQL Worker](#pulsar-sql-worker)
@@ -537,6 +538,22 @@ All the offload metrics are labelled with the following labels:
 | brk_ledgeroffloader_delete_offload_ops         | Counter | The total number of successful and failed operations to delete offload ledgers. |
 
 
+### Web service executor metrics
+
+> For functions workers running separately from brokers, their Jetty metrics are only exposed when `includeStandardPrometheusMetrics` is set to `true`.
+
+All the web service executor metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster name that you have configured in the `broker.conf` file.
+
+| Name | Type | Description |
+|---|---|---|
+| pulsar_web_executor_max_threads | GAUGE | The max threads of pulsar-web  thread pool |
+| pulsar_web_executor_min_threads | GAUGE | The min threads of pulsar-web thread pool |
+| pulsar_web_executor_idle_threads | GAUGE | The idle threads of pulsar-web thread pool |
+| pulsar_web_executor_active_threads | GAUGE | The number of threads performing tasks of pulsar-web thread pool |
+| pulsar_web_executor_current_threads | GAUGE | The number of threads in the pulsar-web thread pool |
+
 ## Pulsar Functions
 
 All the Pulsar Functions metrics are labelled with the following labels: