aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authoredyta <edyta.krukowska@nokia.com>2020-05-07 07:43:18 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-05-13 08:36:46 +0200
commit540de931d7c0234759d0d6caedf7aaf3d7b86fad (patch)
tree80c6919e00a2817eb4f452f56e50327352ede077 /src/main
parent14b6866f877d8c1efd49c924a732f470fa376793 (diff)
Activate prometheus metrics for perf tests - pom.xml fix
Issue-ID: DCAEGEN2-608 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Iaa0f32e99ab46e8e4646109d15c63513b8a269f4
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/application.properties4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 00000000..48ba86d4
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,4 @@
+management.endpoint.metrics.enabled=true
+management.endpoints.web.exposure.include=metrics, prometheus
+management.endpoint.prometheus.enabled=true
+management.metrics.export.prometheus.enabled=true