dragosvictor opened a new pull request, #22816:
URL: https://github.com/apache/pulsar/pull/22816

   [PIP-264](https://github.com/apache/pulsar/blob/master/pip/pip-264.md)
   
   ### Motivation
   
   Adds metrics for the web service executor thread pool, as currently 
described 
[here](https://pulsar.apache.org/docs/next/reference-metrics/#web-service-executor-metrics).
 Reference documentation for the new metrics can be found in the respective PR: 
https://github.com/apache/pulsar-site/pull/907.
   
   ### Modifications
   
   Expose the respective OpenTelemetry metrics in new class 
`org.apache.pulsar.broker.web.WebExecutorThreadPoolStats#WebExecutorThreadPoolStats`.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   
     - Extended test 
`org.apache.pulsar.broker.web.WebServiceTest#testWebExecutorMetrics` to 
validate the OpenTelemetry metrics
   
   ### Does this pull request potentially affect one of the following parts:
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [x] The metrics: _As describe above_
   - [ ] Anything that affects deployment
   
   ### Documentation
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [x] `doc-required`: https://github.com/apache/pulsar-site/pull/907
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/dragosvictor/pulsar/pull/27


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to