summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-04-06 15:42:02 +0100
committerMichael Morris <michael.morris@est.tech>2022-04-14 23:11:10 +0000
commite02ad3ed9ce507d8b78cc511ea1832a86f77c274 (patch)
tree1adb781b5314b3f36b81f533316860f8040a824d /openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main
parenteb8de3664309f577362df7710d6cd93d00a734e2 (diff)
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>
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml
index f4a84a0056..8c005f0169 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/beans-services.xml
@@ -84,6 +84,7 @@
<ref bean="togglz"/>
<ref bean="items"/>
<ref bean="uniqueTypes"/>
+ <ref bean="prometheusMetricsController"/>
</jaxrs:serviceBeans>
<jaxrs:providers>