feat(alerting): naiv graphite executor

This commit is contained in:
bergquist
2016-05-25 17:21:20 +02:00
parent b2a4d8083e
commit 957cb407c5
7 changed files with 147 additions and 16 deletions

View File

@@ -406,7 +406,6 @@ func TestAlertModel(t *testing.T) {
So(alerts[0].DatasourceId, ShouldEqual, 2)
So(alerts[1].DatasourceId, ShouldEqual, 1)
})
})
}

View File

@@ -115,7 +115,7 @@ func (mg *Migrator) Start() error {
func (mg *Migrator) exec(m Migration) error {
if mg.LogLevel <= log.INFO {
//log.Info("Migrator: exec migration id: %v", m.Id())
log.Info("Migrator: exec migration id: %v", m.Id())
}
err := mg.inTransaction(func(sess *xorm.Session) error {