diff --git a/build.gradle b/build.gradle index 6eff4e9..1666da0 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,9 @@ dependencies { implementation 'net.nurigo:sdk:4.3.0' implementation 'org.flywaydb:flyway-core' implementation 'org.flywaydb:flyway-mysql' + + implementation 'org.springframework.boot:spring-boot-starter-actuator' + runtimeOnly 'io.micrometer:micrometer-registry-prometheus' } tasks.named('test') { diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 2e8fb9f..55b2fba 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -18,3 +18,9 @@ phone: key: testesttstset secret: testtestesttestteststestsetstets sender: 01012345678 + +management: + endpoints: + web: + exposure: + include: prometheus