### _Why are the changes needed?_ Close #3046 Expose the metrics likes: ``` kyuubi.operation.state.BatchJobSubmission.pending kyuubi.operation.state.BatchJobSubmission.running kyuubi.operation.state.BatchJobSubmission.finished kyuubi.operation.state.BatchJobSubmission.error kyuubi.operation.state.BatchJobSubmission.canceled ``` So that the kyuubi service admin can know that how many BatchJobSubmission operations are pending, running and so on. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3063 from turboFei/batch_metrics. Closes #3046 89ee21db [Fei Wang] remove statement overwrite 25ae41e9 [Fei Wang] update docs 7287527c [Fei Wang] use meter a2dde891 [Fei Wang] save a0c6eade [Fei Wang] remove another bug fix c250a089 [Fei Wang] add docs 87f27e89 [Fei Wang] comments 6bdc4ca9 [Fei Wang] fix flaky test b000525d [Fei Wang] fix flaky test f748093e [Fei Wang] expose more metrics Authored-by: Fei Wang <fwang12@ebay.com> Signed-off-by: Fei Wang <fwang12@ebay.com> |
||
|---|---|---|
| .. | ||
| events.md | ||
| index.rst | ||
| logging.md | ||
| metrics.md | ||
| trouble_shooting.md | ||