We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cf55c6 commit 2a25e3aCopy full SHA for 2a25e3a
2 files changed
pom.xml
@@ -28,6 +28,14 @@
28
<groupId>org.springframework.boot</groupId>
29
<artifactId>spring-boot-starter-web</artifactId>
30
</dependency>
31
+ <dependency>
32
+ <groupId>org.springframework.boot</groupId>
33
+ <artifactId>spring-boot-starter-actuator</artifactId>
34
+ </dependency>
35
36
+ <groupId>io.micrometer</groupId>
37
+ <artifactId>micrometer-registry-prometheus</artifactId>
38
39
<dependency>
40
<groupId>org.springdoc</groupId>
41
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
src/main/resources/application.yml
@@ -10,3 +10,10 @@ hacktoberfest:
10
11
github:
12
token: ${GITHUB_TOKEN:}
13
+management:
14
+ endpoints:
15
+ web:
16
+ exposure:
17
+ include:
18
+ - health
19
+ - prometheus
0 commit comments