李明
08f472f9ee
fix: PostgreSQL bool int convert error ( #1695 )
* fix: postgres bool int
* fix: code optimize
* fix: updateby
* optimize
* Update es_index_pattern.go
---------
Co-authored-by: Yening Qin <710leo@gmail.com>
2 years ago
shardingHe
25dab86b8e
feat: add mute preview and an option to delete the active alerts ( #1692 )
* add mute preview and an option to delete these active alerts(del_alert_cur:true)
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
Co-authored-by: Yening Qin <710leo@gmail.com>
2 years ago
ning
9cdbda0828
refactor: alert rule mute strategy
2 years ago
ning
212e0aa4c3
refactor: alert subscribe verify
2 years ago
shardingHe
67fb49e54e
After configuring the SMTP, attempt to send the email. ( #1684 )
* After configuring the SMTP, attempt to send the email.
* refactor code
* refactor code
* Update router_notify_config.go
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
Co-authored-by: Yening Qin <710leo@gmail.com>
2 years ago
Ulric Qin
49d8ed4a6f
Merge branch 'main' of github.com:ccfos/nightingale
2 years ago
Ulric Qin
c7b537e6c7
expose tags_map
2 years ago
shardingHe
f1cdd2fa46
refactor: modify the alert_subscribe to make the datasource optional ( #1679 )
* subscribe change 'pord','datasource_ids' to optional item
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago
shardingHe
7015a40256
refactor: alert subscribe verify check ( #1666 )
* add BusiGroupFilter for alert_subscribe ,copy from TagFiler
* refactor BusiGroupFilter
* refactor BusiGroupFilter
* refactor BusiGroupFilter
* AlertSubscribe verify check
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago
Ulric Qin
03cca642e9
modify email words
2 years ago
Ulric Qin
af31c496a1
datasource checker for loki
2 years ago
Tripitakav
e9a02c4c80
refactor: sync rule to scheduler ( #1657 )
2 years ago
ning
8beaccdded
refactor: GetTagFilters
2 years ago
shardingHe
af6003da6d
feat: Add BusiGroupFilter for alert_subscribe ( #1660 )
* add BusiGroupFilter for alert_subscribe ,copy from TagFiler
* refactor BusiGroupFilter
* refactor BusiGroupFilter
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago
Yening Qin
d724f8cc8e
fix get tpl ( #1655 )
2 years ago
ning
f1ee7d24a6
fix: sub rule filter
2 years ago
Yening Qin
dd49afef01
support markdown api and downtime select ( #1645 )
2 years ago
李明
acbe49f518
index pattern basic op ( #1635 )
* index pattern basic op
2 years ago
shardingHe
5433e6e27e
AlertAggrView update verify ( #1637 )
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
2 years ago
Yening Qin
1731713dbb
fix: get all target by guest user ( #1634 )
* fix: targets api get all
* code refactor
2 years ago
ning
6159178d99
set alert_rule.promql empty
2 years ago
Yening Qin
be1a3c1d8b
sub and mute rule by severity ( #1621 )
* sub severity
* mute by severity
2 years ago
Ulric Qin
8941c192de
code refactor
2 years ago
ning
a338b5233c
code refactor
2 years ago
ning
ad26225f63
refactor: recording rule model
2 years ago
ning
00192b9d0f
code refactor
2 years ago
ning
f5de4c3f22
refactor db2fe
3 years ago
ning
dd9099af0a
refactor db2fe
3 years ago
ning
8a4c709e87
refactor models
3 years ago
Yening Qin
de9b11a049
recording rule add query configs ( #1574 )
* add query config
* migrate table
3 years ago
ning
067b3f91a7
refactor: change default notify tpl
3 years ago
ning
38229a43dc
refactor: notify tpl
3 years ago
ning
bcb89017a0
refactor: remove default notify template file
3 years ago
ning
4afc3a60a4
Merge branch 'main' of ssh://github.com/ccfos/nightingale
3 years ago
shardingHe
e9c9a3ac58
feat: notify tpl support add and delete ( #1567 )
* notifyTpl add and delete
* notifyTpl add and delete
* optimization notifyTpl
* optimization notifyTpl
* optimization notifyTpl
* optimization notifyTpl
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
3 years ago
ning
f751b2034d
fix: recovery event tags being lost after promql modification
3 years ago
ning
9a883dc02c
refactor: feishu_card sender
3 years ago
shardingHe
c730eaa860
Move feishucard ( #1563 )
* Fix an exception situation where the prod and cate fields cannot be updated.
* add feishucard.tpl
* move feishucard to v6
---------
Co-authored-by: shardingHe <wangzihe@flashcat.cloud>
3 years ago
ning
5ba2d6bc8e
fix: concurrent map writes
3 years ago
ning
c490ab09ad
fix: cli upgrade
3 years ago
ning
ac4ff33dff
refactor: remove phone space
3 years ago
Yening Qin
6b9ceda9c1
fix: host filter ( #1557 )
* fix host filter
3 years ago
ning
20f0a9d16d
fix: webhook update note
3 years ago
Yening Qin
83b5f12474
refactor: n9e-alert and n9e-pushgw sync config by http api ( #1545 )
* get alert mute by api
* add service api
* fix sync datasource
* change event persist
* add hearbeat
* change pushgw update target
* code refactor
* fix get user members
* refactor get alert rules
* update AlertCurEventGetByRuleIdAndDsId
* refactor get from api
* add role perm list and change get datasource
* refactor: get ops and metrics
* change some logs
* change get datasource
3 years ago
ning
9ad51aeeff
refactor: rule prod check
3 years ago
ning
35b3cbb697
feat: add get datasource ids api
3 years ago
ning
b64aa03ccf
refactor: FillSeverities
3 years ago
ning
3893cb00a5
refactor: FillSeverities
3 years ago
MoonStrider
7cc9470823
Update alert_rule.go ( #1528 )
fix: rule.FillSeverities
3 years ago
ning
d0604f0c97
refactor: alert rule sync
3 years ago