summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-10-13 16:03:43 +0100
committerMichael Morris <michael.morris@est.tech>2022-04-14 09:48:51 +0000
commitcd2747ff0dc6a02c03f2b17ce986d28b3abdf773 (patch)
tree46043d5a1eb3c65fea9453f9cb154bae78715dc1 /catalog-be/src/main/resources
parent2cebeb91247c9c1a1fcd45a1bfec56e632d04501 (diff)
Add application metrics in the catalog backend
A new endpoint was introduced sdc2/rest/actuator/prometheus in the catalog backend, that returns application metrics in a format consumable by prometheus, using the micrometer library. Change-Id: I03542e1c1a9b8b12d4e00f86e5b02c597740934b Issue-ID: SDC-3957 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-be/src/main/resources')
-rw-r--r--catalog-be/src/main/resources/application-context.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/application-context.xml b/catalog-be/src/main/resources/application-context.xml
index 403debfb08..39ac4f8892 100644
--- a/catalog-be/src/main/resources/application-context.xml
+++ b/catalog-be/src/main/resources/application-context.xml
@@ -22,6 +22,7 @@
<bean class="org.openecomp.sdc.be.config.CatalogModelSpringConfig"/>
<bean class="org.openecomp.sdc.be.components.distribution.engine.config.DistributionEngineSpringConfig"/>
<bean class="org.openecomp.sdc.config.CatalogBESpringConfig"/>
+ <bean class="org.openecomp.sdc.config.MicrometerSpringConfig"/>
<aop:config>