From 2fa91450df792689c42bd52f98ffdacee99ace91 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 30 Nov 2017 17:14:18 +0100 Subject: dashboard/app: add manager monitoring Make it possible to monitor health and operation of all managers from dashboard. 1. Notify dashboard about internal syz-ci errors (currently we don't know when/if they happen). 2. Send statistics from managers to dashboard. --- dashboard/app/main.html | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) (limited to 'dashboard/app/main.html') diff --git a/dashboard/app/main.html b/dashboard/app/main.html index ea1eec7c9..a5bad8efa 100644 --- a/dashboard/app/main.html +++ b/dashboard/app/main.html @@ -11,11 +11,11 @@ {{range $b := $.Bugs}} - {{$b.Title}} + {{$b.Title}} {{$b.NumCrashes}} {{formatReproLevel $b.ReproLevel}} {{formatTime $b.LastTime}} - {{if $b.Link}}{{$b.Status}}{{else}}{{$b.Status}}{{end}} + {{if $b.Link}}{{$b.Status}}{{else}}{{$b.Status}}{{end}} {{if $b.Commits}}{{len $b.PatchedOn}}/{{len $b.MissingOn}}{{end}} {{end}} @@ -39,6 +39,49 @@

+ + + + + + + + + + + + + + + {{range $mgr := $.Managers}} + + + {{if $mgr.LastActiveBad}} + + {{else}} + + {{end}} + {{if $mgr.CurrentBuild}} + + {{else}} + + {{end}} + {{if $mgr.FailedBuildBugLink}} + + {{else}} + + {{end}} + + + + + + + + {{end}} +
Managers:
NameLast ActiveCurrent BuildFailed BuildToday: UptimeFuzzing TimeCorpusCoverageCrashesExecs
{{$mgr.Namespace}}/{{$mgr.Name}}{{formatTime $mgr.LastActive}}{{formatClock $mgr.LastActive}}{{formatTime $mgr.CurrentBuild.Time}}failed{{formatDuration $mgr.CurrentUpTime}}{{formatDuration $mgr.TotalFuzzingTime}}{{$mgr.MaxCorpus}}{{$mgr.MaxCover}}{{$mgr.TotalCrashes}}{{$mgr.TotalExecs}}
+

+ @@ -59,7 +102,7 @@ - + -- cgit mrf-deployment
Recent jobs:
{{formatTime $job.Started}}{{if gt $job.Attempts 1}} ({{$job.Attempts}}){{end}} {{formatTime $job.Finished}} {{$job.User}}{{$job.BugTitle}}{{$job.BugTitle}} patch {{$job.Namespace}}/{{$job.Reporting}} {{$job.Manager}}