pradeeee opened a new pull request, #18819: URL: https://github.com/apache/pinot/pull/18819
## Summary Depends on #18641 (peer download fallback). Adds dedicated metrics to distinguish deep store vs peer download paths: - `PREDOWNLOAD_DEEPSTORE_DOWNLOAD_COUNT` — counter for deep store download success - `PREDOWNLOAD_PEER_SEGMENT_DOWNLOAD_COUNT` — counter for peer download success - `PREDOWNLOAD_PEER_SEGMENT_DOWNLOAD_FAILURE_COUNT` — counter for peer download failure (with segment name as key for per-segment tracking) - `PEER_DOWNLOAD_SPEED` — gauge for peer download speed (MB/s) ## Test plan - [x] `testDeepStoreSuccessEmitsDeepStoreMetric` — verifies deep store metric emitted, peer metrics not called - [x] `testPeerDownloadSuccessEmitsPeerMetrics` — verifies peer success counter + speed gauge + overall success - [x] `testPeerDownloadFailureEmitsSegmentLevelMetric` — verifies peer failure counter with segment name All 11 tests passing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
