zuobiao-zhou opened a new pull request, #2271:
URL: https://github.com/apache/hertzbeat/pull/2271

   ## What's changed?
   
   <!-- Describe Your PR Here -->
   close https://github.com/apache/hertzbeat/issues/2188
   
   **Support custom refresh intervals for each group of metrics. The specific 
implementation is as follows**:
   
   1. Construct `a cycle of  job refresh interval list` based on the refresh 
intervals of each metric.
   2. When the job dispatches, select metrics that are `due for refresh` to 
form `priorMetrics`.
   
   Implementation result:
   
![image](https://github.com/apache/hertzbeat/assets/61108539/a6117ed9-183d-46a7-9eb4-dd002dd58ccb)
   
![image](https://github.com/apache/hertzbeat/assets/61108539/10f13a2c-9dbe-46f1-9f54-20e827ab9513)
   
![image](https://github.com/apache/hertzbeat/assets/61108539/eac1a6ee-37d8-47c6-a2d5-4661c7fbfee1)
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x]  I have written the necessary doc or comment.
   - [x]  I have added the necessary unit tests and all cases have 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to