hertzbeat
hertzbeat copied to clipboard
[feature] Support custom refresh intervals for each group of metrics
What's changed?
close https://github.com/apache/hertzbeat/issues/2188
Support custom refresh intervals for each group of metrics. The specific implementation is as follows:
- Construct
a cycle of job refresh interval list
based on the refresh intervals of each metric. - When the job dispatches, select metrics that are
due for refresh
to formpriorMetrics
.
Implementation result:
Checklist
- [x] I have read the Contributing Guide
- [x] I have written the necessary doc or comment.
- [x] I have added the necessary unit tests and all cases have passed.