zhenjiaguo opened a new issue #1586: URL: https://github.com/apache/incubator-kyuubi/issues/1586
### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the feature Add time metric on each `KyuubiBackendService` method, like `opensession`, `executeStatement`, `fetchResults` etc... ### Motivation Relate to #1393 Add time metric on each `KyuubiBackendService` method can help us inspect Kyuubi Server running status inside. It can Indirect reflecting our RPC call time when using Kyuubi. ### Describe the solution Use `Histogram` metrics to record every call time on every method in `KyuubiBackendService`. ### Additional context Every Kyuubi frontend service will call `KyuubiBackendService` method. So it suitable to all user that use different frontend service. ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- 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]
