Duansg opened a new pull request, #7833:
URL: https://github.com/apache/shenyu/pull/7833

   close #7687
   
   Expose logging queue admission and capacity metrics through the existing 
Prometheus endpoint:
   
   - Add accepted/dropped counters and queue size/capacity gauges for both 
single-client and multi-client modes.
   - Use only `collector` and `mode` labels to keep cardinality bounded.
   - Exclude sampling, inactive collectors, missing clients, and backend send 
failures from admission-drop counts.
   - Preserve existing admission behavior and report live queue state, 
including retained backlogs after capacity or mode changes.
   
   Added 20 test cases. All 97 relevant tests passed, along with Checkstyle and 
Apache RAT checks. 
   
   Make sure that:
   
   - [x] You have read the [contribution 
guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [x] You submit test cases (unit or integration tests) that back your 
changes.
   - [x] Your local test passed `./mvnw clean install 
-Dmaven.javadoc.skip=true`.


-- 
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