Commit 03bdc585 authored by Pantelis Malekas's avatar Pantelis Malekas
Browse files

Merge branch 'add-metrics-traces-for-cart' into 'develop'

fix: add metrics endpoint to cart api

See merge request !39
parents ed45cc96 ad253b47
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for charts/hypo/templates/portal-cart/deployment.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -60,6 +60,10 @@ spec:
              containerPort: {{ $portalCart.containerPort }}
              protocol: TCP
          env:
            - 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_MONGODB_CONNECTION_STRING
              value: mongodb://{{ (index .Values.mongodb.env 0).value }}:{{ (index .Values.mongodb.env 1).value }}@{{ include "hypo.mongodb.url" . }}:{{ include "hypo.mongodb.port" . }}/{{ (index .Values.mongodb.env 2).value }}?authSource=admin
            - name: NODE_IP