Skip to content

Commit 60b967c

Browse files
authored
Merge pull request #95 from TU-NEBULA/feature/SCRUM-237
SCRUM-237: Prometheus 연동
2 parents 73e79da + 70833e9 commit 60b967c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ dependencies {
5555
implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
5656
implementation 'co.elastic.clients:elasticsearch-java:8.13.4'
5757

58+
// Prometheus & Actuator
59+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
60+
implementation 'io.micrometer:micrometer-registry-prometheus'
5861

5962
compileOnly 'org.projectlombok:lombok'
6063
developmentOnly 'org.springframework.boot:spring-boot-devtools'

src/main/java/com/team_nebula/nebula/global/constants/Constants.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
public final class Constants {
66

7-
private Constants() {}
7+
private Constants() {
8+
}
89

910
public static List<String> NO_NEED_FILTER_URLS = List.of(
11+
"/actuator/**",
1012
"/swagger-ui.html/**",
1113
"/v3/api-docs/**",
1214
"/swagger-ui/**",

0 commit comments

Comments
 (0)