Skip to content

Commit 592aa8f

Browse files
committed
dashboard/app: filter out few more problems in errors logs
1 parent 722ac32 commit 592aa8f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

dashboard/app/main.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,7 @@ func fetchErrorLogs(c context.Context) ([]byte, error) {
24832483
return nil, nil
24842484
}
24852485

2486-
const maxLines = 100
2486+
const maxLines = 150
24872487
projID := os.Getenv("GOOGLE_CLOUD_PROJECT")
24882488

24892489
adminClient, err := logadmin.NewClient(c, projID)
@@ -2501,8 +2501,16 @@ func fetchErrorLogs(c context.Context) ([]byte, error) {
25012501
AND (NOT resource.type="k8s_container")
25022502
-- Filter our instances.delete errors as false positives. Delete event happens every second.
25032503
AND (NOT protoPayload.methodName:v1.compute.instances.delete)
2504+
-- Frequent known problem with zone pools being exhausted.
2505+
AND (NOT protoPayload.status.details:"ZONE_RESOURCE_POOL_EXHAUSTED")
2506+
-- Let somebody else monitor GCE bugs.
2507+
AND (NOT (protoPayload.methodName:"v1.compute.instances.insert"
2508+
AND protoPayload.status.message:"INTERNAL_ERROR"))
2509+
AND (NOT (protoPayload.methodName:"google.ssh-serialport.v1.connect"
2510+
AND protoPayload.status.message:"INTERNAL_ERROR"))
25042511
-- Let somebody else monitor datastore bugs (also see #6069).
25052512
AND (NOT textPayload:"datastore_v3: INTERNAL_ERROR")
2513+
AND (NOT jsonPayload.message:"datastore_v3: INTERNAL_ERROR")
25062514
-- GetPackageUpdates is something related to package updates on GCE machines.
25072515
-- They are happening in hundreds every day.
25082516
AND (NOT jsonPayload.message:"packages.GetPackageUpdates()")

0 commit comments

Comments
 (0)