You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/18 10:25:45 UTC

[GitHub] [pulsar] tjiuming opened a new pull request #14745: [DOC] pulsar web service executor metrics doc

tjiuming opened a new pull request #14745:
URL: https://github.com/apache/pulsar/pull/14745


   ### Motivation
   
   add doc of pulsar-web executor metrics
   
   ### Modifications
   
   1. add doc in reference-metrics.md
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
   Check the box below or label this PR directly (if you have committer privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [ ] `no-need-doc` 
     
     (Please explain why)
     
   - [x] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tjiuming commented on pull request #14745: [DOC] pulsar web service executor metrics doc

Posted by GitBox <gi...@apache.org>.
tjiuming commented on pull request #14745:
URL: https://github.com/apache/pulsar/pull/14745#issuecomment-1072275005






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tjiuming commented on pull request #14745: [DOC] pulsar web service executor metrics doc

Posted by GitBox <gi...@apache.org>.
tjiuming commented on pull request #14745:
URL: https://github.com/apache/pulsar/pull/14745#issuecomment-1072275005


   this pr related to https://github.com/apache/pulsar/pull/14742


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Anonymitaet commented on a change in pull request #14745: [DOC] pulsar web service executor metrics doc

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on a change in pull request #14745:
URL: https://github.com/apache/pulsar/pull/14745#discussion_r830711144



##########
File path: site2/docs/reference-metrics.md
##########
@@ -495,6 +496,22 @@ All the jetty metrics are labelled with the following labels:
 | jetty_stats_seconds | Gauge | Time in seconds stats have been collected for. |
 | jetty_responses_bytes_total | Counter | Total number of bytes across all responses. |
 
+### Web service executor metrics
+
+> For a functions-worker running separately from brokers, its Jetty metrics are only exposed when `includeStandardPrometheusMetrics` is set to `true`.

Review comment:
       ```suggestion
   > For functions workers running separately from brokers, their Jetty metrics are only exposed when `includeStandardPrometheusMetrics` is set to `true`.
   ```

##########
File path: site2/docs/reference-metrics.md
##########
@@ -495,6 +496,22 @@ All the jetty metrics are labelled with the following labels:
 | jetty_stats_seconds | Gauge | Time in seconds stats have been collected for. |
 | jetty_responses_bytes_total | Counter | Total number of bytes across all responses. |
 
+### Web service executor metrics
+
+> For a functions-worker running separately from brokers, its 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 max threads of pulsar-web thread pool |

Review comment:
       the min threads

##########
File path: site2/docs/reference-metrics.md
##########
@@ -495,6 +496,22 @@ All the jetty metrics are labelled with the following labels:
 | jetty_stats_seconds | Gauge | Time in seconds stats have been collected for. |
 | jetty_responses_bytes_total | Counter | Total number of bytes across all responses. |
 
+### Web service executor metrics
+
+> For a functions-worker running separately from brokers, its 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 max 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 | How many threads doing task of pulsar-web thread pool |

Review comment:
       ```suggestion
   | pulsar_web_executor_active_threads | GAUGE | The number of threads performing tasks of pulsar-web thread pool |
   ```

##########
File path: site2/docs/reference-metrics.md
##########
@@ -495,6 +496,22 @@ All the jetty metrics are labelled with the following labels:
 | jetty_stats_seconds | Gauge | Time in seconds stats have been collected for. |
 | jetty_responses_bytes_total | Counter | Total number of bytes across all responses. |
 
+### Web service executor metrics
+
+> For a functions-worker running separately from brokers, its 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 max 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 | How many threads doing task of pulsar-web thread pool |
+| pulsar_web_executor_current_threads | GAUGE | How many threads in the pulsar-web thread pool now |

Review comment:
       ```suggestion
   | pulsar_web_executor_current_threads | GAUGE | The number of threads in the pulsar-web thread pool |
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tjiuming commented on pull request #14745: [DOC] pulsar web service executor metrics doc

Posted by GitBox <gi...@apache.org>.
tjiuming commented on pull request #14745:
URL: https://github.com/apache/pulsar/pull/14745#issuecomment-1072301909


   ![QQ20220318-0](https://user-images.githubusercontent.com/95597048/158991588-41f91b7f-cf88-4d33-804d-ed58e4a275e9.png)
   ![QQ20220318-1](https://user-images.githubusercontent.com/95597048/158991602-58d97590-f8ef-45ae-a37f-11fe07c5a389.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org