Add application metrics in the catalog backend 60/128360/4
authorandre.schmid <andre.schmid@est.tech>
Wed, 13 Oct 2021 15:03:43 +0000 (16:03 +0100)
committerMichael Morris <michael.morris@est.tech>
Thu, 14 Apr 2022 09:48:51 +0000 (09:48 +0000)
commitcd2747ff0dc6a02c03f2b17ce986d28b3abdf773
tree46043d5a1eb3c65fea9453f9cb154bae78715dc1
parent2cebeb91247c9c1a1fcd45a1bfec56e632d04501
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>
catalog-be/pom.xml
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/PrometheusMetricsServlet.java [new file with mode: 0644]
catalog-be/src/main/java/org/openecomp/sdc/config/MicrometerSpringConfig.java [new file with mode: 0644]
catalog-be/src/main/resources/application-context.xml