diff --git a/build.gradle b/build.gradle index b1a4d50..aab47b5 100644 --- a/build.gradle +++ b/build.gradle @@ -87,8 +87,8 @@ dependencies { implementation 'com.google.firebase:firebase-admin:9.3.0' //prometheus -// implementation 'org.springframework.boot:spring-boot-starter-actuator' -// implementation 'io.micrometer:micrometer-registry-prometheus' + implementation 'org.springframework.boot:spring-boot-starter-actuator' + implementation 'io.micrometer:micrometer-registry-prometheus' //websocket implementation 'org.springframework.boot:spring-boot-starter-websocket' diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0ef03db..7cb4185 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -52,14 +52,14 @@ jwt: fcm: certification: firebase.json -#management: -# endpoints: -# web: -# exposure: -# include: prometheus -# endpoint: -# prometheus: -# enabled: true +management: + endpoints: + web: + exposure: + include: prometheus + endpoint: + prometheus: + enabled: true mail: google: