AzazelSensei opened a new pull request, #13046: URL: https://github.com/apache/gravitino/pull/13046
### What changes were proposed in this pull request? I added `@ResponseMetered(name = "cancel-job", absolute = true)` on `JobOperations#cancelJob`, next to the existing `@Timed`, same as the other eight endpoints in that class. ### Why are the changes needed? `cancelJob` only had `@Timed`. Without `@ResponseMetered`, the Jersey listener never registers `gravitino-server.cancel-job.2xx-responses` (or 4xx/5xx), so `/metrics` shows cancel latency but not outcome. Fix: #13041 ### Does this PR introduce _any_ user-facing change? No API or property changes. Cancel responses start showing up on `/metrics` like the sibling endpoints. ### How was this patch tested? ``` ./gradlew :server:test --tests org.apache.gravitino.server.web.rest.TestJobOperations.testCancelJobIsResponseMetered -PskipITs ``` -- 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]
