Skip to content

Commit 3c16598

Browse files
committed
feat: SecurityConfig에서 /actuator/prometheus 허용
1 parent 6616bd7 commit 3c16598

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/ururulab/ururu/global/config/SecurityConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public SecurityFilterChain prodFilterChain(
8787
.requestMatchers("/api/sellers/signup").permitAll()
8888
.requestMatchers("/api/sellers/check/**").permitAll()
8989
.requestMatchers("/health").permitAll()
90+
.requestMatchers("/actuator/prometheus").permitAll()
91+
.requestMatchers("/actuator/health").permitAll()
9092
.requestMatchers(HttpMethod.GET, "/api/groupbuys").permitAll()
9193
.requestMatchers(HttpMethod.GET, "/api/groupbuys/top3").permitAll()
9294
.requestMatchers(HttpMethod.GET, "/api/groupbuys/*/top6").permitAll()

0 commit comments

Comments
 (0)