summaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorroger yuan <roger.yuan@yoppworks.com>2021-05-19 09:42:33 -0600
committerroger yuan <roger.yuan@yoppworks.com>2021-05-19 12:21:05 -0600
commit641a1a0318a6de88ad5e4643258f7165783141e7 (patch)
treec1e6564111d6a21c5d4b1af9fd52818707b07802 /aai-resources/pom.xml
parentf64cb0565a5856f8824d3496aa934f413df77e56 (diff)
[AAI] Export relevant key metrics for monitoring in Prometheus
Make the key metrics available to the monitoring system by instrumenting the code. The Key metrics are available via /actuator/prometheus /actuator/info /actuator/health Issue-ID: AAI-3343 Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com> Change-Id: I69f7eafb5105a04369526c70902ac7b676038c36
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index 0540c53..908e1ee 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -78,6 +78,10 @@
<!-- End of Default ONAP Schema Properties -->
<keycloak.version>11.0.2</keycloak.version>
+ <micrometer-spring-legacy.version>1.3.19</micrometer-spring-legacy.version>
+ <micrometer-core.version>1.6.6</micrometer-core.version>
+ <micrometer-registry-prometheus.version>1.6.6</micrometer-registry-prometheus.version>
+ <micrometer-jersey2>1.6.6</micrometer-jersey2>
<!-- Setting some default value to not complain by editor but it will be overridden by gmaven plugin -->
</properties>
<profiles>
@@ -282,6 +286,34 @@
<dependencies>
<dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-hateoas</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-spring-legacy</artifactId>
+ <version>${micrometer-spring-legacy.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>${micrometer-core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${micrometer-registry-prometheus.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-jersey2</artifactId>
+ <version>${micrometer-jersey2}</version>
+ </dependency>
+ <dependency>
<groupId>javax.jms</groupId>
<artifactId>javax.jms-api</artifactId>
<version>2.0.1</version>