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

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new ff65b5857ec2 [feat][broker] PIP-264: Add web executor metrics 
reference (#907)
ff65b5857ec2 is described below

commit ff65b5857ec2cb10cf289e0bb51176bae34af97b
Author: Dragos Misca <[email protected]>
AuthorDate: Tue Oct 29 03:36:24 2024 -0700

    [feat][broker] PIP-264: Add web executor metrics reference (#907)
    
    * Add web executor metrics reference
    
    * Update metric descriptions
    
    * Revert yarn.lock changes
    
    * Add docs to version-4.0.x
    
    ---------
    
    Co-authored-by: Lari Hotari <[email protected]>
---
 docs/reference-metrics-opentelemetry.md            | 22 ++++++++++++++++++++++
 .../reference-metrics-opentelemetry.md             | 22 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/docs/reference-metrics-opentelemetry.md 
b/docs/reference-metrics-opentelemetry.md
index 76bf663077e4..3cd0df30a2c5 100644
--- a/docs/reference-metrics-opentelemetry.md
+++ b/docs/reference-metrics-opentelemetry.md
@@ -694,6 +694,28 @@ Estimated number of bytes retained by managed ledger data 
read from storage or c
     * `used`
     * `free`
 
+### Web Executor Service metrics
+
+#### pulsar.web.executor.thread.limit
+The thread limits for the pulsar-web executor pool.
+* Type: UpDownCounter
+* Unit: `{thread}`
+* Attributes:
+  * `pulsar.web.executor.thread.limit.type` - The limit type for the thread 
pool.
+    * `max`
+    * `min`
+
+#### pulsar.web.executor.thread.usage
+The current usage of threads in the pulsar-web executor pool.
+* Type: UpDownCounter
+* Unit: `{thread}`
+* Attributes:
+  * `pulsar.web.executor.thread.usage.type` - The usage type for the thread 
pool.
+    * `active` - Indicates the number of threads actively serving requests.
+    * `current` - Indicates the total number of threads currently associated 
with the pool.
+    * `idle` - Indicates the number of threads available to serve requests.
+      =======
+
 ### Schema Registry Metrics
 
 #### pulsar.broker.request.schema_registry.duration
diff --git a/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md 
b/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
index 76bf663077e4..3cd0df30a2c5 100644
--- a/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
+++ b/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
@@ -694,6 +694,28 @@ Estimated number of bytes retained by managed ledger data 
read from storage or c
     * `used`
     * `free`
 
+### Web Executor Service metrics
+
+#### pulsar.web.executor.thread.limit
+The thread limits for the pulsar-web executor pool.
+* Type: UpDownCounter
+* Unit: `{thread}`
+* Attributes:
+  * `pulsar.web.executor.thread.limit.type` - The limit type for the thread 
pool.
+    * `max`
+    * `min`
+
+#### pulsar.web.executor.thread.usage
+The current usage of threads in the pulsar-web executor pool.
+* Type: UpDownCounter
+* Unit: `{thread}`
+* Attributes:
+  * `pulsar.web.executor.thread.usage.type` - The usage type for the thread 
pool.
+    * `active` - Indicates the number of threads actively serving requests.
+    * `current` - Indicates the total number of threads currently associated 
with the pool.
+    * `idle` - Indicates the number of threads available to serve requests.
+      =======
+
 ### Schema Registry Metrics
 
 #### pulsar.broker.request.schema_registry.duration

Reply via email to