diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-06-25 12:42:59 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-06-26 10:55:10 +0000 |
| commit | 1ae8177eba72d2be1455e5a2811ac32da9fb214f (patch) | |
| tree | eba3126c4ede3fa04c560ed9425012d3473ffbc1 /dashboard/app | |
| parent | ba7e550fd1c1c066f39a27793e54a313c2ec17f4 (diff) | |
dashboard: don't display GKE errors on the admin page
GKE streams all stdout as severity=ERROR messages, which makes it too
noisy to be useful on the Admin page of syzbot.
Diffstat (limited to 'dashboard/app')
| -rw-r--r-- | dashboard/app/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dashboard/app/main.go b/dashboard/app/main.go index 2f04e7152..583aed704 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -2433,7 +2433,9 @@ func fetchErrorLogs(c context.Context) ([]byte, error) { iter := adminClient.Entries(c, logadmin.Filter( // We filter our instances.delete errors as false positives. Delete event happens every second. - fmt.Sprintf(`(NOT protoPayload.methodName:v1.compute.instances.delete) AND timestamp > "%s" AND severity>="ERROR"`, + // Also, ignore GKE logs since it streams all stderr output as severity=ERROR. + fmt.Sprintf(`(NOT protoPayload.methodName:v1.compute.instances.delete)`+ + ` AND (NOT resource.type="k8s_container") AND timestamp > "%s" AND severity>="ERROR"`, lastWeek)), logadmin.NewestFirst(), ) |
