Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查询指标请求考虑流量打散 #2409

Open
RockysGit opened this issue Dec 30, 2024 · 2 comments
Open

查询指标请求考虑流量打散 #2409

RockysGit opened this issue Dec 30, 2024 · 2 comments

Comments

@RockysGit
Copy link

Question and Steps to reproduce

服务在某些情况下重启后,告警规则会同一时刻start,这种情况下,如果告警规则配置的执行频率相同时(比如都是15s),数据源会每隔15s收到大量请求,而不是打散在15s内请求比较均衡。个人感觉是否可以考虑一下将cronJob的启动时机均匀一下,目前看代码没有找到有相关的处理逻辑。

Relevant logs and configurations

同一时刻启动执行频率相同的告警规则,数据源侧的qps会在每隔一个执行频率时间出现一个峰值

Version

v8.0.0

@RockysGit
Copy link
Author

Snipaste_2024-12-30_14-30-34 补充数据源的监控图

@UlricQin
Copy link
Member

下个版本搞一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants