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

   ## Proposed changes
   
   jdbc scan and java udf use jni calls in BE, but lack a monitoring interface. 
This pr adds a monitoring interface and adds a monitoring of the number of jdbc 
connections
   
   set enable_jni_metrics = true in be.conf
   
   when we have a query of jdbc catalog , we can get a metric
   ```
   http://172.17.0.1:8040/metrics?type=json
   
   
{"tags":{"metric":"jdbc_scan_connection_percent","catalog":"35717"},"unit":"percent","value":0}
   ```
   
   Issue Number: close #xxx
   
   <!--Describe your 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-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to