public boolean shouldExclude(Endpoint endpoint) {
        // if the namespace is in the exclude list, return true
        if (namespaces.contains(endpoint.getNamespace())) {
            return true;
        }
        // if the endpoint has no labels, return false
        if (endpoint.getLabelsCount() == 0) {
            return false;
        }
        return labels.stream().anyMatch(label -> label.isMatch(endpoint));
    }
check if the endpoint should be excluded
oap-server/server-fetcher-plugin/cilium-fetcher-plugin/src/main/java/org/apache/skywalking/oap/server/fetcher/cilium/ExcludeRules.java