fix
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 2m15s

This commit is contained in:
mats committed 2026-09-20 11:39:20 +02:00
1 parent 645f923175
commit 2cf2cebf5c
20 files changed
+481 -51

No files matched your search

+11
View File
@@ -269,3 +269,14 @@ func IsBot(class string) bool {
}
return false
}
// IsCrawler reports self-declared crawlers, agents and scanners: the classes
// whose 4xx noise is not user impact. Monitors and plain HTTP libraries are
// excluded because their failures can be real.
func IsCrawler(class string) bool {
switch class {
case AICrawler, AIAgent, SearchCrawler, SEOCrawler, ScanTool, OtherBot:
return true
}
return false
}