From 1ae8177eba72d2be1455e5a2811ac32da9fb214f Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 25 Jun 2025 12:42:59 +0200 Subject: 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. --- dashboard/app/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dashboard') 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(), ) -- cgit mrf-deployment