Commit 677a9f18 authored by Anastasios Poimenidis's avatar Anastasios Poimenidis
Browse files

feat: add otlp traces and metric env variables for Sonata application.properties

parent 6606af0f
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for charts/hypo/templates/sonata/deployment.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -77,6 +77,10 @@ spec:
              value: {{ $postgresqlDb.auth.username }}
            - name: _PROD_QUARKUS_DATASOURCE_PASSWORD
              value: {{ $postgresqlDb.auth.password }}
            - name: _PROD_QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
              value: http://{{ template "hypo.otel.url" . }}:{{ include "hypo.otel.port" . }}
            - name: _PROD_QUARKUS_OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
              value: http://{{ template "hypo.otel.url" . }}:{{ include "hypo.otel.port" . }}
            #- name: _PROD_QUARKUS_OTEL_EXPORTER_OTLP_TRACES_TIMEOUT
            #  value: 30S
          resources: