Giter VIP home page Giter VIP logo

Comments (9)

Calvin979 avatar Calvin979 commented on June 10, 2024 3

I'd like to help!

from hertzbeat.

hertzbeat avatar hertzbeat commented on June 10, 2024 1

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Question

I found the following problems when using HertzBeat:
Whether the current template triggers an alarm or restores an alarm, it only gives a time. Sometimes it is impossible to know which one was triggered at which time. I want to associate the triggering and recovery time of the same alarm, so that when an alarm message is sent, the message will display the time when the alarm was triggered. When the alarm is restored, the message should display the time when the alarm was triggered and restored, which is convenient. Users can better distinguish alarm information in different time periods (as shown in the attachment). Attached is the alarm recovery information I received when using prometheus:
prometheus-alertinfo

from hertzbeat.

Calvin979 avatar Calvin979 commented on June 10, 2024 1

@tomsun28 元旦快乐!对应的PR是这个
#1464

from hertzbeat.

hertzbeat avatar hertzbeat commented on June 10, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I'd like to help!

from hertzbeat.

Calvin979 avatar Calvin979 commented on June 10, 2024

Hi, @tomsun28
我改了对应的告警恢复时间,效果如下图所示:
image

对应的告警email:
image

对应的告警恢复email:
image

现在还有一个问题:是否有办法测试剩余的其他所有告警通知。我检查了下,告警通知很多——钉钉、华为云、飞书、企微、telegram等等……这些该如何测试?还是说用单元测试就可以了

from hertzbeat.

hertzbeat avatar hertzbeat commented on June 10, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hi, @tomsun28
I changed the corresponding alarm recovery time, and the effect is as shown below:
image

Corresponding alarm email:
image

Corresponding alarm recovery email:
image

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?

from hertzbeat.

tomsun28 avatar tomsun28 commented on June 10, 2024

@Calvin979 👍👍 hi 元旦快乐,不用每个都实际环境测试一遍,我们保证在代码debug那里看到的渲染内容OK就行,因为都是用的freemarker模版渲染的

from hertzbeat.

hertzbeat avatar hertzbeat commented on June 10, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@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

from hertzbeat.

hertzbeat avatar hertzbeat commented on June 10, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@tomsun28 Happy New Year! The corresponding PR is this
#1464

from hertzbeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.