mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	feat(alerting): lots of progress on notifications, refactored them out to their own package, restored webhook notitication and added slack notification
This commit is contained in:
		@@ -16,7 +16,7 @@ import (
 | 
			
		||||
	"github.com/grafana/grafana/pkg/login"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/metrics"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/plugins"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/services/alerting"
 | 
			
		||||
	alertingInit "github.com/grafana/grafana/pkg/services/alerting/init"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/services/eventpublisher"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/services/notifications"
 | 
			
		||||
	"github.com/grafana/grafana/pkg/services/search"
 | 
			
		||||
@@ -68,7 +68,7 @@ func main() {
 | 
			
		||||
	social.NewOAuthService()
 | 
			
		||||
	eventpublisher.Init()
 | 
			
		||||
	plugins.Init()
 | 
			
		||||
	alerting.Init()
 | 
			
		||||
	alertingInit.Init()
 | 
			
		||||
 | 
			
		||||
	if err := notifications.Init(); err != nil {
 | 
			
		||||
		log.Fatal(3, "Notification service failed to initialize", err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user