aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-02-12 09:46:13 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-02-12 10:13:03 +0100
commit21f1eb6988155dc56fec09ce9137577b0a8731ff (patch)
tree224d6e40218dc9c92613b495c19921c8ca2f8446 /intentanalysis/src
parentf0d3ffe3e00a942dab53afb5807ec199c75b02de (diff)
Add tracing and metrics to intent-analysis service
- support tracing and metrics - bump snapshot version to 15.0.1-SNAPSHOT Issue-ID: USECASEUI-867 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I4b147cee2175ef4fc7a77c1a4e7f3b11891787b2
Diffstat (limited to 'intentanalysis/src')
-rw-r--r--intentanalysis/src/main/resources/application.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/application.yaml b/intentanalysis/src/main/resources/application.yaml
index 29adf13..0661077 100644
--- a/intentanalysis/src/main/resources/application.yaml
+++ b/intentanalysis/src/main/resources/application.yaml
@@ -3,6 +3,8 @@ server:
servlet:
context-path: /api/usecaseui-intent-analysis/v1
spring:
+ application:
+ name: uui-intent-analysis
main:
allow-circular-references: true
datasource:
@@ -20,6 +22,19 @@ mybatis:
database-id: PostgreSQL
mapper-locations: classpath*:mybatis/sql/*.xml
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
+ tracing:
+ enabled: ${TRACING_ENABLED:true}
+ sampling:
+ probability: 1.0 # sample every request
+ zipkin:
+ tracing:
+ endpoint: http://${COLLECTOR_HOST:jaeger-collector.istio-system}:${COLLECTOR_PORT:9411}/api/v2/spans
+
rest:
policy:
username: policyadmin