[AAI] Export relevant key metrics for monitoring in Prometheus 23/121423/3
authorroger yuan <roger.yuan@yoppworks.com>
Wed, 19 May 2021 15:42:33 +0000 (09:42 -0600)
committerroger yuan <roger.yuan@yoppworks.com>
Wed, 19 May 2021 18:21:05 +0000 (12:21 -0600)
commit641a1a0318a6de88ad5e4643258f7165783141e7
treec1e6564111d6a21c5d4b1af9fd52818707b07802
parentf64cb0565a5856f8824d3496aa934f413df77e56
[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
12 files changed:
aai-resources/pom.xml
aai-resources/src/main/java/org/onap/aai/rest/BulkAddConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/BulkProcessConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/ExampleConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/LegacyMoxyConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/URLFromVertexIdConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/VertexIdConsumer.java
aai-resources/src/main/java/org/onap/aai/rest/bulk/BulkSingleTransactionConsumer.java
aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java [new file with mode: 0644]
aai-resources/src/main/resources/application.properties
aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java
aai-resources/src/test/resources/application-test.properties