Skip to content

Commit

Permalink
Merge pull request #358 from ethstorage/alert
Browse files Browse the repository at this point in the history
Removed Galileo related alerts from alert config, as the Galileo network will be deprecated soon.
  • Loading branch information
ping-ke authored Jan 14, 2025
2 parents 0bf3e1c + 324f005 commit 30862dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/alert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func LoadConfig(ruleFile string) []IChecker {
var alerts []*AlertConfig
decoder := json.NewDecoder(file)
if err := decoder.Decode(&alerts); err != nil {
log.Crit("Failed to decode rule file", "rule file", *ruleFileFlag, "err", err)
log.Crit("Failed to decode rule file", "rule file", ruleFile, "err", err)
}

checkers := make([]IChecker, 0)
Expand Down
14 changes: 0 additions & 14 deletions cmd/alert/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@
}
},

{
"alert-type":"LastBlockChecker",
"params":{
"name":"Galileo Last Block Alert",
"rpc":"https://galileo.web3q.io:8545"
}
},
{
"alert-type":"WebsiteOnlineChecker",
"params":{
"name":"Galileo explorer online Alert",
"url":"https://explorer.galileo.web3q.io/"
}
},
{
"alert-type":"WebsiteOnlineChecker",
"params":{
Expand Down

0 comments on commit 30862dd

Please sign in to comment.