diff --git a/app/vmalert/Makefile b/app/vmalert/Makefile index e8da6673d..8a3dbf24a 100644 --- a/app/vmalert/Makefile +++ b/app/vmalert/Makefile @@ -1,9 +1,6 @@ # All these commands must run from repository root. -templates-gen: install-qtc - qtc -dir=./app/vmalert - -vmalert: templates-gen +vmalert: APP_NAME=vmalert $(MAKE) app-local vmalert-race: diff --git a/app/vmalert/tpl/footer.qtpl.go b/app/vmalert/tpl/footer.qtpl.go index f61ee4ba1..fd5a0a1ce 100644 --- a/app/vmalert/tpl/footer.qtpl.go +++ b/app/vmalert/tpl/footer.qtpl.go @@ -51,40 +51,36 @@ func StreamFooter(qw422016 *qt422016.Writer) { if (group.length > 0) { group.click(); } - - }); - - `) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 } -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 func WriteFooter(qq422016 qtio422016.Writer) { -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 qw422016 := qt422016.AcquireWriter(qq422016) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 StreamFooter(qw422016) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 qt422016.ReleaseWriter(qw422016) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 } -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 func Footer() string { -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 qb422016 := qt422016.AcquireByteBuffer() -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 WriteFooter(qb422016) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 qs422016 := string(qb422016.B) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 qt422016.ReleaseByteBuffer(qb422016) -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 return qs422016 -//line app/vmalert/tpl/footer.qtpl:40 +//line app/vmalert/tpl/footer.qtpl:36 } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 095fe2085..3e404fc3c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,8 @@ sort: 15 ## tip +* FEATURE: vmalert: add web UI with the list of alerting groups, alerts and alert statuses. See [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/1602). + * BUGFIX: vmselect: reset connection timeouts after each request to `vmstorage`. This should prevent from `cannot read data in 0.000 seconds: unexpected EOF` warning in logs. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1562). Thanks to @mxlxm .