From a32edf88f1ca7efb7cf13a756bd63860f5770272 Mon Sep 17 00:00:00 2001 From: pasqualespica <36746022+pasqualespica@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:56:43 +0200 Subject: [PATCH] minor fix --- helm/values-dev.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 9f94fa78..466e1363 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -45,6 +45,15 @@ microservice-chart: periodSeconds: 10 deployment: create: true + serviceMonitor: + create: true + endpoints: + - interval: 10s #jmx-exporter + targetPort: 12345 + path: /metrics + ports: + - 80 #http + - 12345 #jmx-exporter service: create: true type: ClusterIP @@ -101,6 +110,9 @@ microservice-chart: OTEL_EXPORTER_OTLP_ENDPOINT: "http://otel-collector.elastic-system.svc:4317" OTEL_LOGS_EXPORTER: none OTEL_TRACES_SAMPLER: "always_on" + envFieldRef: + APP_NAME: "metadata.labels['app.kubernetes.io/instance']" + APP_VERSION: "metadata.labels['app.kubernetes.io/version']" envSecret: SPRING_DATASOURCE_PASSWORD: 'oracle-db-cfg-password' keyvault: