Commit ad253b47 authored by Labros Papadopoulos's avatar Labros Papadopoulos
Browse files

fix: add metrics endpoint to cart api

parent ed45cc96
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