diff options
author | roger yuan <roger.yuan@yoppworks.com> | 2021-05-19 10:02:03 -0600 |
---|---|---|
committer | roger yuan <roger.yuan@yoppworks.com> | 2021-05-19 12:22:31 -0600 |
commit | 6180838e24698c885091d65603c6ce19c54853f4 (patch) | |
tree | 6ae837a5f437403adfcbb1c52c37c53140117534 /aai-traversal/pom.xml | |
parent | 7b0b01a41e7eacd40ba296dda474b7fcbc54a1cd (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: If72858484231d95a39c938bacfc1773430806e5a
Diffstat (limited to 'aai-traversal/pom.xml')
-rw-r--r-- | aai-traversal/pom.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index 5a78953..d45af14 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -96,6 +96,10 @@ <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23</schema.version.list> <schema.uri.base.path>/aai</schema.uri.base.path> <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> <!-- End of Default ONAP Schema Properties --> </properties> <profiles> @@ -302,6 +306,34 @@ </dependency> </dependencies> </dependencyManagement> --> <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> |