Commit 2da6d417 authored by Kishore Battula's avatar Kishore Battula
Browse files

Merge branch 'Azure/add_micrometer_prometheus' into 'Azure/OSDU-Partition-M8-Master'

Added Spring Micrometer Metrics

See merge request !110
parents 8a16a0d2 ecfbe3b8
Pipeline #73780 passed with stages
in 15 minutes and 1 second
...@@ -144,6 +144,12 @@ ...@@ -144,6 +144,12 @@
<artifactId>spring-security-test</artifactId> <artifactId>spring-security-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
<version>1.6.6</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -45,6 +45,7 @@ redis.database=${REDIS_DATABASE} ...@@ -45,6 +45,7 @@ redis.database=${REDIS_DATABASE}
# health check # health check
management.health.azure-key-vault.enabled=false management.health.azure-key-vault.enabled=false
management.server.port=8081 management.server.port=8081
management.endpoints.web.exposure.include=health,info,prometheus
azure.cryptography.enabled=false azure.cryptography.enabled=false
azure.eventgrid.topic.enabled=false azure.eventgrid.topic.enabled=false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment