Skip to content

Commit b14f3eb

Browse files
authored
release: 0.0.9 (#9)
2 parents 4d88377 + 939b5eb commit b14f3eb

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ apply from: "gradle/jwt.gradle"
3131
apply from: "gradle/etc.gradle"
3232
apply from: "gradle/test.gradle"
3333
apply from: "gradle/spring.gradle"
34+
apply from: "gradle/monitor.gradle"
3435
apply from: "gradle/jetbrains.gradle"
3536

3637
sentry {

gradle/monitor.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dependencies {
2+
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
3+
}

gradle/spring.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies {
66
implementation "org.springframework.boot:spring-boot-starter"
77
implementation "org.springframework.boot:spring-boot-starter-web"
88
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
9+
implementation "org.springframework.boot:spring-boot-starter-actuator"
910
implementation 'org.springframework.retry:spring-retry'
1011

1112
testImplementation "org.springframework.boot:spring-boot-starter-test"

src/main/resources/application.properties

+4
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ sentry.dsn=https://d4fd0e848b11f200766d8cd577159b04@o4505051656486912.ingest.us.
3131
sentry.traces-sample-rate=1.0
3232

3333
white.ip=127.0.0.1,192.168.35.190,192.168.35.139
34+
35+
spring.application.name=api.gitanimals
36+
management.endpoints.web.exposure.include=prometheus
37+
management.metrics.tags.application=${spring.application.name}

0 commit comments

Comments
 (0)