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

rule_engine告警恢复后,还是一直发送恢复信息到alter-gateway #97

Open
sunism opened this issue Feb 21, 2021 · 0 comments

Comments

@sunism
Copy link

sunism commented Feb 21, 2021

报警触发恢复后的alter信息rule_engine还是会一直往alter-gateway发送,这样如果在监控项很多的情况下会存在问题,日志如下:
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:27:05.995304915Z","value":5.87}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:28:20.995304915Z","value":5.87}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:29:35.995304915Z","value":5.86}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:30:20.995304915Z","value":0}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:30:50.995304915Z","value":5.83}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:31:35.995304915Z","value":0}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:32:05.995304915Z","value":5.85}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"2021-02-20T08:28:05.995304915Z","state":0,"valid_until":"2021-02-20T08:32:05.995304915Z","value":0}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:33:20.995304915Z","value":5.78}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"2021-02-20T08:28:05.995304915Z","state":0,"valid_until":"2021-02-20T08:33:20.995304915Z","value":0}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:34:35.995304915Z","value":5.85}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"2021-02-20T08:28:05.995304915Z","state":0,"valid_until":"2021-02-20T08:34:35.995304915Z","value":0}]
[{"active_at":"2021-02-20T08:20:05.995304915Z","Annotations":{"description":"linux主机内存剩余率","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.230:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"0001-01-01T00:00:00Z","state":2,"valid_until":"2021-02-20T08:35:50.995304915Z","value":5.85}]
[{"active_at":"2021-02-20T08:25:20.995304915Z","Annotations":{"description":"node exporter is alive","summary":"linux主机内存","RuleId":""},"FiredAt":"0001-01-01T00:00:00Z","labels":{"env":"dev","instance":"10.187.32.231:9100","job":"node_exporter","project":"bkce"},"last_send_at":"0001-01-01T00:00:00Z","resolved_at":"2021-02-20T08:28:05.995304915Z","state":0,"valid_until":"2021-02-20T08:35:50.995304915Z","value":0}]

报警恢复后,还是会一直发送aleter信息,显示报警恢复。

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

1 participant