From d945c872d86024c9a42785a8eb26c90cec190cb5 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Wed, 11 Nov 2015 17:53:18 +0100 Subject: [PATCH] Style fix, remove debug prints --- dispatch.go | 2 -- ui/app/css/main.css | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dispatch.go b/dispatch.go index 41ca9409..546353f6 100644 --- a/dispatch.go +++ b/dispatch.go @@ -284,7 +284,6 @@ func (ag *aggrGroup) run(nf notifyFunc) { if timeout < notify.MinTimeout { timeout = notify.MinTimeout } - fmt.Println("starting at", time.Now()) for { select { @@ -309,7 +308,6 @@ func (ag *aggrGroup) run(nf notifyFunc) { // Wait the configured interval before calling flush again. ag.next.Reset(ag.opts.GroupInterval) - fmt.Println("flushing at", now) ag.flush(func(alerts ...*types.Alert) bool { return nf(ctx, alerts...) }) diff --git a/ui/app/css/main.css b/ui/app/css/main.css index 2ceccf73..076c049c 100644 --- a/ui/app/css/main.css +++ b/ui/app/css/main.css @@ -154,8 +154,11 @@ header #logo { color: #555 !important; } -.annotations { +.annotations td { + min-width: 200px; white-space: pre-wrap !important; + word-break: break-all; + word-wrap: break-word; } .table-normal.annotations td { padding: .4em !important;