aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/pom.xml
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/pom.xml
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/pom.xml')
-rw-r--r--catalog-be/pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml
index 9df08050d4..2d7449015b 100644
--- a/catalog-be/pom.xml
+++ b/catalog-be/pom.xml
@@ -19,6 +19,7 @@
<maven-dependency-plugin.version>3.2.0</maven-dependency-plugin.version>
<replacer.plugin.version>1.5.3</replacer.plugin.version>
<ui.version>${project.version}</ui.version>
+ <micrometer.version>1.8.4</micrometer.version>
</properties>
<dependencies>
@@ -170,6 +171,12 @@
</exclusions>
</dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
+
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>