dashy: link falco alerts to netdata's Alerts tab instead of homepage
This commit is contained in:
@@ -39,7 +39,7 @@ def to_dashy_entry(t):
|
|||||||
return {
|
return {
|
||||||
"link": {
|
"link": {
|
||||||
"text": f"{when} - {status} - {rule_name}",
|
"text": f"{when} - {status} - {rule_name}",
|
||||||
"url": f"{NETDATA_URL}/",
|
"url": f"{NETDATA_URL}/alerts",
|
||||||
"title": f"{status}: {rule_name}",
|
"title": f"{status}: {rule_name}",
|
||||||
},
|
},
|
||||||
"date": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(t["when"])),
|
"date": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(t["when"])),
|
||||||
|
|||||||
Reference in New Issue
Block a user