shubhampatel28 opened a new pull request, #13851: URL: https://github.com/apache/hudi/pull/13851
### Change Logs - Implemented multi-table support for `PrometheusReporter` to resolve the issue where stopping metrics for one table would break metrics collection for other tables sharing the same Prometheus server port. Added reference counting mechanism to track multiple tables using the same server and only stop the HTTP server when all tables have finished reporting. - got `deprecationwarnings` and fixed them by replacing `server.stop()` with `server.close()` - refactored the big stop() method into focused private methods for better maintainability. ### Impact No breaking changes. It now supports to run multiple Hudi tables with Prometheus metrics on the same port without one table's shutdown breaking metrics for other active tables. ### Risk level (write none, low medium or high below) LOW. ### Documentation Update NONE ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Change Logs and Impact were stated clearly - [x] Adequate tests were added if applicable - [ ] CI passed -- 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]
