-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Task] The problem of alarm triggering and recovery time in the same alarm information #1405
Comments
I'd like to help! |
I'd like to help! |
Hi, @tomsun28 现在还有一个问题:是否有办法测试剩余的其他所有告警通知。我检查了下,告警通知很多——钉钉、华为云、飞书、企微、telegram等等……这些该如何测试?还是说用单元测试就可以了 |
Hi, @tomsun28 Corresponding alarm recovery email: Now there is a question: is there a way to test all other remaining alert notifications. I checked and found a lot of alarm notifications - DingTalk, Huawei Cloud, Feishu, Qiwei, telegram, etc... How should I test these? Or just use unit testing? |
@Calvin979 👍👍 hi 元旦快乐,不用每个都实际环境测试一遍,我们保证在代码debug那里看到的渲染内容OK就行,因为都是用的freemarker模版渲染的 |
@Calvin979 👍👍 hi Happy New Year, there is no need to test each one in the actual environment, we ensure that the rendering content seen in the code debug is OK, because they are all rendered using the freemarker template |
Question
我在使用HertzBeat中发现如下问题:
![prometheus-alertinfo](https://private-user-images.githubusercontent.com/74173328/288946678-95a64b46-7977-4e16-a48d-fb415e1937a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjQzNzcsIm5iZiI6MTczOTE2NDA3NywicGF0aCI6Ii83NDE3MzMyOC8yODg5NDY2NzgtOTVhNjRiNDYtNzk3Ny00ZTE2LWE0OGQtZmI0MTVlMTkzN2E4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA1MDc1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmMjFhNzg3ZTc2ZGI0NWQ3NmRiYWY3ODU3YzNkZDIwYmUxMjI1N2MxNDUxYmY0ZmQwNTQ0OTA2ZTA4NDYyNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.O8l8ODaTXGu95LU2okrpgLH0ma-BNZLUltZnNroBTNI)
当前模板无论是触发告警还是恢复告警,都只是给出一个时间,这个有时候根本不知道哪个是哪个几点触发的。我希望同一个告警触发和恢复时间做个关联,这样当一个告警信息发出时,信息中会显示此告警触发的时间,当这个告警恢复时,信息中应显示此告警触发和恢复的时间,便于使用者更好区分不同时段的告警信息(如附件所显示的)。附件中是我使用prometheus时收到的告警恢复信息:
The text was updated successfully, but these errors were encountered: