mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert: follow-up after 21f022e5f0
This commit is contained in:
parent
bb26aa9b1f
commit
608ed19655
3 changed files with 16 additions and 21 deletions
|
@ -1,9 +1,6 @@
|
||||||
# All these commands must run from repository root.
|
# All these commands must run from repository root.
|
||||||
|
|
||||||
templates-gen: install-qtc
|
vmalert:
|
||||||
qtc -dir=./app/vmalert
|
|
||||||
|
|
||||||
vmalert: templates-gen
|
|
||||||
APP_NAME=vmalert $(MAKE) app-local
|
APP_NAME=vmalert $(MAKE) app-local
|
||||||
|
|
||||||
vmalert-race:
|
vmalert-race:
|
||||||
|
|
|
@ -51,40 +51,36 @@ func StreamFooter(qw422016 *qt422016.Writer) {
|
||||||
if (group.length > 0) {
|
if (group.length > 0) {
|
||||||
group.click();
|
group.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`)
|
`)
|
||||||
//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) {
|
func WriteFooter(qq422016 qtio422016.Writer) {
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
qw422016 := qt422016.AcquireWriter(qq422016)
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
StreamFooter(qw422016)
|
StreamFooter(qw422016)
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
qt422016.ReleaseWriter(qw422016)
|
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 {
|
func Footer() string {
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
qb422016 := qt422016.AcquireByteBuffer()
|
qb422016 := qt422016.AcquireByteBuffer()
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
WriteFooter(qb422016)
|
WriteFooter(qb422016)
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
qs422016 := string(qb422016.B)
|
qs422016 := string(qb422016.B)
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
qt422016.ReleaseByteBuffer(qb422016)
|
qt422016.ReleaseByteBuffer(qb422016)
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
return qs422016
|
return qs422016
|
||||||
//line app/vmalert/tpl/footer.qtpl:40
|
//line app/vmalert/tpl/footer.qtpl:36
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,8 @@ sort: 15
|
||||||
|
|
||||||
## tip
|
## 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 .
|
* 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 .
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue