Procházet zdrojové kódy

Added message parsing functionality

utkarshcmu před 9 roky
rodič
revize
95117a0bc9
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      pkg/services/alerting/notifiers/slack.go

+ 1 - 0
pkg/services/alerting/notifiers/slack.go

@@ -89,6 +89,7 @@ func (this *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
 				"ts":          time.Now().Unix(),
 			},
 		},
+		"parse": "full", // to linkify urls, users and channels in alert message.
 	}
 
 	//recipient override