morrySnow opened a new pull request, #64742:
URL: https://github.com/apache/doris/pull/64742

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: FE metrics exposed current connection counts but did not 
expose the configured maximum total connection count or each user's 
max_user_connections value. This change adds doris_fe_connection_max from 
qe_max_connection and doris_fe_user_connection_max with a user label. User max 
connection metrics are initialized from all user properties when MetricRepo 
starts and are synchronized when users are created, dropped, or when user 
properties are updated or replayed.
   
   ### Release note
   
   Add FE metrics doris_fe_connection_max and doris_fe_user_connection_max.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - ./run-fe-ut.sh --run org.apache.doris.metric.MetricsTest
       - mvn checkstyle:check -pl fe-core
   - Behavior changed: Yes (adds FE metrics for total and per-user connection 
limits)
   - Does this need documentation: No


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to