Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR] improvement(server,coordinator): Dynamic conf support report …
…interval of PrometheusPushGatewayMetricReporter (#2232) ### What changes were proposed in this pull request? support dynamic conf the report interval of PrometheusPushGatewayMetricReporter ### Why are the changes needed? Adjust the report interval of PrometheusPushGatewayMetricReporter dynamically. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Locally ``` curl -X POST http://localhost:19948/api/shuffleServer/conf/ops/temp/update -H "Content-Type: application/json" \ -d '{"update":{"rss.metrics.prometheus.pushgateway.report.interval.seconds": "30"}}' temporarily effective until restart: Update successfully% ``` server.log ``` [2024-11-04 10:55:24.139] [PrometheusPushGatewayMetricReporter-0] [INFO] PrometheusPushGatewayMetricReporter - Pushed metrics to push gateway [2024-11-04 10:55:54.460] [PrometheusPushGatewayMetricReporter-0] [ERROR] PrometheusPushGatewayMetricReporter - Failed to send metrics to push gateway. ```
- Loading branch information