add channel test message variable
This commit is contained in:
parent
754693c91b
commit
e2752d6354
|
@ -264,6 +264,9 @@ func (h *AlertAPI) testChannel(w http.ResponseWriter, req *http.Request, ps http
|
|||
ctx := map[string]interface{}{
|
||||
"title": "INFINI platform test alert message",
|
||||
"message": "This is just a test message, do not reply!",
|
||||
"objects": []string{".infini_metrics"},
|
||||
"trigger_at": time.Now().UnixMilli(),
|
||||
"duration": "5m10s",
|
||||
"rule_id": util.GetUUID(),
|
||||
"rule_name": "test rule",
|
||||
"resource_id": util.GetUUID(),
|
||||
|
|
Loading…
Reference in New Issue