Skip to content

Commit cac5713

Browse files
committed
AUT-2340 Add /actuator/prometheus endpoint
1 parent 3c12662 commit cac5713

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
<groupId>org.springframework.boot</groupId>
6060
<artifactId>spring-boot-starter-actuator</artifactId>
6161
</dependency>
62+
<dependency>
63+
<groupId>io.micrometer</groupId>
64+
<artifactId>micrometer-registry-prometheus</artifactId>
65+
</dependency>
6266
<dependency>
6367
<groupId>org.springframework.boot</groupId>
6468
<artifactId>spring-boot-starter-oauth2-client</artifactId>

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ management:
1010
endpoints:
1111
web:
1212
exposure:
13-
include: configprops,env,health,info
13+
include: configprops,env,health,info,prometheus
1414
info:
1515
os:
1616
enabled: true

0 commit comments

Comments
 (0)