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

[feature] support alert silence config #873

Merged
merged 19 commits into from
Apr 19, 2023
Merged

[feature] support alert silence config #873

merged 19 commits into from
Apr 19, 2023

Conversation

tomsun28
Copy link
Contributor

What's changed?

support alert silence feature

alert silence can ignore alert by match tags or time

023-04-13 12 26 28

2023-04-13 12 27 10

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

@tomsun28 tomsun28 added enhancement New feature or request good first pull request Good for newcomers new feature labels Apr 13, 2023

private final CommonDataQueue dataQueue;

public SilenceAlarm(AlertSilenceDao alertSilenceDao, CommonDataQueue dataQueue) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以用Lombok简化一下吧

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@tomsun28 tomsun28 merged commit 4f1e441 into master Apr 19, 2023
2 checks passed
@tomsun28 tomsun28 deleted the silence branch April 19, 2023 14:28
tomsun28 added a commit that referenced this pull request Jan 16, 2024
* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* optimize caffeine cache (#875)

* 优化caffeine cache

* 移动cache到common模块

* 修改clear实现

* 修改clear实现

* perfect comment

* add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

* support alert silence feature

* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* support alert silence feature

* use alert silence cache

* add hzb_history sql script

* update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 9, 2024
* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* optimize caffeine cache (#875)

* 优化caffeine cache

* 移动cache到common模块

* 修改clear实现

* 修改clear实现

* perfect comment

* add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

* support alert silence feature

* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* support alert silence feature

* use alert silence cache

* add hzb_history sql script

* update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 9, 2024
* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* optimize caffeine cache (#875)

* 优化caffeine cache

* 移动cache到common模块

* 修改clear实现

* 修改clear实现

* perfect comment

* add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

* support alert silence feature

* [webapp] update alert config ui i18

* support alert silence feature

* [webapp] fix silence bug and i18n

* [webapp] add silence matchAll

* support alert silence feature

* support alert silence feature

* support alert silence feature

* use alert silence cache

* add hzb_history sql script

* update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 10, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 10, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  optimize caffeine cache (#875)

  优 caffeine cache

  移动cache到common模块

  修改clear实现

  修改clear实现

  perfect comment

  add cache test

---------

Co-authored-by: hujiaofen <hujiaofen@2dfire.com>

  support alert silence feature

  [webapp] update alert config ui i18

  support alert silence feature

  [webapp] fix silence bug and i18n

  [webapp] add silence matchAll

  support alert silence feature

  support alert silence feature

  support alert silence feature

  use alert silence cache

  add hzb_history sql script

  update history column length

---------

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: hujiaofen <hujiaofen@2dfire.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first pull request Good for newcomers new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants