diff --git a/api-gateway/src/main/java/kr/mafoo/gateway/TracingConfig.java b/api-gateway/src/main/java/kr/mafoo/gateway/TracingConfig.java index cbed56c..2746c2a 100644 --- a/api-gateway/src/main/java/kr/mafoo/gateway/TracingConfig.java +++ b/api-gateway/src/main/java/kr/mafoo/gateway/TracingConfig.java @@ -19,6 +19,9 @@ ObservationPredicate noopServerRequestObservationPredicate() { return false; } } + if (StringUtils.equalsAny(name,"spring.security.filterchains","spring.security.authorizations","spring.security.http.secured.requests")) { + return false; + } return true; }; diff --git a/photo-service/src/main/java/kr/mafoo/photo/config/TracingConfig.java b/photo-service/src/main/java/kr/mafoo/photo/config/TracingConfig.java index 8942ff4..2783bf0 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/config/TracingConfig.java +++ b/photo-service/src/main/java/kr/mafoo/photo/config/TracingConfig.java @@ -19,6 +19,9 @@ ObservationPredicate noopServerRequestObservationPredicate() { return false; } } + if (StringUtils.equalsAny(name,"spring.security.filterchains","spring.security.authorizations","spring.security.http.secured.requests")) { + return false; + } return true; }; diff --git a/user-service/src/main/java/kr/mafoo/user/config/TracingConfig.java b/user-service/src/main/java/kr/mafoo/user/config/TracingConfig.java index d1293b7..02109e4 100644 --- a/user-service/src/main/java/kr/mafoo/user/config/TracingConfig.java +++ b/user-service/src/main/java/kr/mafoo/user/config/TracingConfig.java @@ -19,6 +19,9 @@ ObservationPredicate noopServerRequestObservationPredicate() { return false; } } + if (StringUtils.equalsAny(name,"spring.security.filterchains","spring.security.authorizations","spring.security.http.secured.requests")) { + return false; + } return true; };