in http/server/otelaudit/otelaudit_helper.go [54:67]
func shouldExclude(req *http.Request, excludeMap map[string][]string) bool {
if excludeMap == nil {
return false
}
if patterns, ok := excludeMap[req.Method]; ok {
for _, pattern := range patterns {
if strings.Contains(req.RequestURI, pattern) {
return true
}
}
}
return false
}