Add application metrics in the onboarding backend 61/128361/4
authorandre.schmid <andre.schmid@est.tech>
Wed, 6 Apr 2022 14:42:02 +0000 (15:42 +0100)
committerMichael Morris <michael.morris@est.tech>
Thu, 14 Apr 2022 23:11:10 +0000 (23:11 +0000)
commite02ad3ed9ce507d8b78cc511ea1832a86f77c274
tree1adb781b5314b3f36b81f533316860f8040a824d
parenteb8de3664309f577362df7710d6cd93d00a734e2
Add application metrics in the onboarding backend

A new endpoint was introduced /onboarding-api/v1.0/actuator/prometheus
in the onboarding backend, that returns application metrics in a format
consumable by prometheus, using the micrometer library.

Change-Id: I684b5cab55947c6bedee1b838343676489ad3ebf
Issue-ID: SDC-3956
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-be/pom.xml
openecomp-be/api/openecomp-sdc-rest-webapp/metrics-rest/pom.xml [new file with mode: 0644]
openecomp-be/api/openecomp-sdc-rest-webapp/metrics-rest/src/main/java/org/openecomp/sdcrests/config/MicrometerSpringConfig.java [new file with mode: 0644]
openecomp-be/api/openecomp-sdc-rest-webapp/metrics-rest/src/main/java/org/openecomp/sdcrests/metrics/api/PrometheusMetricsController.java [new file with mode: 0644]
openecomp-be/api/openecomp-sdc-rest-webapp/metrics-rest/src/main/java/org/openecomp/sdcrests/metrics/impl/PrometheusMetricControllerImpl.java [new file with mode: 0644]
openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml
openecomp-be/api/openecomp-sdc-rest-webapp/pom.xml
pom.xml