zuobiao-zhou commented on PR #2718: URL: https://github.com/apache/hertzbeat/pull/2718#issuecomment-2351558972
@tomsun28 Hi, the stange problem mentioned here https://github.com/apache/hertzbeat/pull/2271#issuecomment-2232155864 has been solved. According to the previous code, for jobs with multiple collection metrics, the `metrics.setCollectTime` execution time for metrics with a higher priority is somewhat delayed. This causes them to be missed during the selection of expired metrics in the next cycle, resulting in updates occurring every two cycles. so I move `metrics.setCollectTime` in `constructPriorMetrics`.       Customize collect intervals have been tested and there are no problem. -- 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]
