Skip to content

Commit

Permalink
Merge pull request #62 from WorldHealthOrganization/feature/actuator-…
Browse files Browse the repository at this point in the history
…endpoints-for-monitoring

feature(monitoring):enabled actuator endpoints
  • Loading branch information
ascheibal authored Jun 23, 2023
2 parents 816fccd + 664e797 commit b36c646
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
6 changes: 6 additions & 0 deletions THIRD-PARTY.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ ThirdParty Licenses
| io.micrometer:micrometer-commons:1.10.5 | The Apache Software License, Version 2.0 |
| io.micrometer:micrometer-core:1.10.5 | The Apache Software License, Version 2.0 |
| io.micrometer:micrometer-observation:1.10.5 | The Apache Software License, Version 2.0 |
| io.micrometer:micrometer-registry-prometheus:1.10.5 | The Apache Software License, Version 2.0 |
| io.netty:netty-buffer:4.1.90.Final | Apache License, Version 2.0 |
| io.netty:netty-codec:4.1.90.Final | Apache License, Version 2.0 |
| io.netty:netty-codec-dns:4.1.90.Final | Apache License, Version 2.0 |
Expand All @@ -106,6 +107,11 @@ ThirdParty Licenses
| io.projectreactor:reactor-core:3.5.4 | Apache License, Version 2.0 |
| io.projectreactor.netty:reactor-netty-core:1.1.5 | The Apache Software License, Version 2.0 |
| io.projectreactor.netty:reactor-netty-http:1.1.5 | The Apache Software License, Version 2.0 |
| io.prometheus:simpleclient:0.16.0 | The Apache Software License, Version 2.0 |
| io.prometheus:simpleclient_common:0.16.0 | The Apache Software License, Version 2.0 |
| io.prometheus:simpleclient_tracer_common:0.16.0 | The Apache Software License, Version 2.0 |
| io.prometheus:simpleclient_tracer_otel:0.16.0 | The Apache Software License, Version 2.0 |
| io.prometheus:simpleclient_tracer_otel_agent:0.16.0 | The Apache Software License, Version 2.0 |
| io.setl:rdf-urdna:1.1 | The Apache License, Version 2.0 |
| io.swagger.core.v3:swagger-annotations-jakarta:2.2.9 | Apache License 2.0 |
| io.swagger.core.v3:swagger-core-jakarta:2.2.9 | Apache License 2.0 |
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
Expand Down
28 changes: 24 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,33 @@ spring:
pool:
size: 5
management:
health:
probes:
enabled: true
server:
port: 8091
ssl:
enabled: false
port: 8091
endpoint:
info:
enabled: true
health:
enabled: true
probes:
enabled: true
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
enabled-by-default: false
web:
exposure:
include: info,health,metrics,prometheus
jmx:
exposure:
include: info,health,metrics,prometheus
metrics:
export:
prometheus:
enabled: true
dgc:
jrc:
url: https://covid-19-diagnostics.jrc.ec.europa.eu/devices/hsc-common-recognition-rat
Expand Down

0 comments on commit b36c646

Please sign in to comment.