diff options
author | suresh.charan <suresh.charan@amdocs.com> | 2021-12-15 05:23:01 -0500 |
---|---|---|
committer | suresh.charan <suresh.charan@amdocs.com> | 2021-12-15 05:23:01 -0500 |
commit | 6c006a13328f6eb388d6cbd0ac3323f3462b3343 (patch) | |
tree | 37047bb16fb26cd7e7001f72ddfcfffa7f3b4a31 /pom.xml | |
parent | 0f940df172f04ad5261b2443b296b3ab58faf02c (diff) |
[AAI] Expose relevant key metrics for monitoring via prometheus
The Key metrics are available via endpoints:
/actuator/prometheus
/actuator/info
/actuator/health
Issue-ID: AAI-3415
Signed-off-by: Suresh Charan <suresh.charan@amdocs.com>
Change-Id: I5760095973c7f3d58a3770e221dee1c3ca9d5370
Diffstat (limited to 'pom.xml')
-rwxr-xr-x | pom.xml | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -102,6 +102,13 @@ <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24</schema.version.list> <schema.uri.base.path>/aai</schema.uri.base.path> <!-- End of Default ONAP Schema Properties --> + + <!-- Start of graphadmin metric collection Properties --> + <micrometer.core.version>1.8.1</micrometer.core.version> + <micrometer.registry.prometheus.version>1.8.1</micrometer.registry.prometheus.version> + <micrometer.jersey2.version>1.8.1</micrometer.jersey2.version> + <spring.boot.starter.actuator.version>2.1.12.RELEASE</spring.boot.starter.actuator.version> + <!-- End of graphadmin metric collection Properties --> </properties> <profiles> @@ -336,6 +343,24 @@ </profiles> <dependencies> + <!-- Start of graphadmin metric collection dependencies --> + <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}</version> + </dependency> + <!-- End of graphadmin metric collection dependencies --> + <dependency> <groupId>javax.jms</groupId> <artifactId>javax.jms-api</artifactId> @@ -571,6 +596,17 @@ </exclusions> </dependency> <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + <version>${spring.boot.starter.actuator.version}</version> + <exclusions> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <scope>test</scope> |