From dc5577fbaf766032010d4730b5457d24b395afb9 Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Fri, 15 Nov 2024 11:46:58 +0000 Subject: [PATCH] Test blueapi with observability --- services/daq-blueapi/Chart.yaml | 4 ++-- services/daq-blueapi/values.yaml | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/services/daq-blueapi/Chart.yaml b/services/daq-blueapi/Chart.yaml index a166954..088f9cc 100644 --- a/services/daq-blueapi/Chart.yaml +++ b/services/daq-blueapi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: daq-blueapi description: blueapi -version: 0.6.0 +version: 0.6.1a6 # When we deploy with the edge-containers-cli we override this on the command line. # Direct deployment with Helm will use the default beta value. @@ -12,5 +12,5 @@ type: application dependencies: - name: blueapi - version: "0.6.0" + version: "0.6.1a6" repository: "oci://ghcr.io/diamondlightsource/charts" diff --git a/services/daq-blueapi/values.yaml b/services/daq-blueapi/values.yaml index da86439..64cb58e 100644 --- a/services/daq-blueapi/values.yaml +++ b/services/daq-blueapi/values.yaml @@ -24,12 +24,20 @@ blueapi: extraEnvVars: - name: BEAMLINE value: p47 - - name: RABBITMQ_PASSWORD valueFrom: secretKeyRef: name: rabbitmq-password key: rabbitmq-password + - name: OTLP_EXPORT_ENABLED + value: {{ .Values.tracing.otlp.export_enabled }} + - name: OTEL_EXPORTER_OTLP_TRACES_PROTOCOL + value: {{ .Values.tracing.otlp.protocol }} + - name: OTEL_EXPORTER_OTLP_ENDPOINT + value: "{{ .Values.tracing.otlp.host }}:{{ .Values.tracing.otlp.port }}" + tracing: + otlp: + host: https://jaeger-all-in-one # replace with central instance worker: env: sources: @@ -47,7 +55,6 @@ blueapi: host: daq-rabbitmq scratch: root: /exports/mybeamline/p47/scratch/blueapi - initContainer: scratch: root: /exports/mybeamline/p47/scratch/blueapi