aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-02-21 08:28:32 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-02-21 16:43:26 +0100
commite894953c0c45c8a6d676292a81da90a615133b1c (patch)
tree3eaf9df5eda3604dd64d5d09c3239fca967bed7c /dashboard/dashapi/dashapi.go
parent3e5ed8b45e7a561d6344a4d3d7bf3bfb8f24a7b3 (diff)
dashboard/app: save suppressed reports
Save suppressed reports into a special single bucked "suppressed report". This will allow some control and monitoring over frequency and will allow to see samples. Fixes #1941
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index c62d53c3e..148b7d710 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -238,6 +238,7 @@ type Crash struct {
Title string
AltTitles []string // alternative titles, used for better deduplication
Corrupted bool // report is corrupted (corrupted title, no stacks, etc)
+ Suppressed bool
Maintainers []string // deprecated in favor of Recipients
Recipients Recipients
Log []byte
@@ -264,6 +265,7 @@ type CrashID struct {
BuildID string
Title string
Corrupted bool
+ Suppressed bool
MayBeMissing bool
}