Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions charts/wire-server/templates/background-worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ spec:
secretKeyRef:
name: background-worker
key: rabbitmqPassword
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: background-worker
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
startupProbe:
httpGet:
scheme: HTTP
Expand Down
12 changes: 12 additions & 0 deletions charts/wire-server/templates/brig/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,18 @@ spec:
secretKeyRef:
name: brig
key: rabbitmqPassword
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: brig
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
ports:
- containerPort: {{ .Values.brig.service.internalPort }}
startupProbe:
Expand Down
12 changes: 12 additions & 0 deletions charts/wire-server/templates/cargohold/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ spec:
value: {{ join "," .noProxyList | quote }}
{{- end }}
{{- end }}
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: cargohold
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
ports:
- containerPort: {{ .Values.cargohold.service.internalPort }}
livenessProbe:
Expand Down
12 changes: 12 additions & 0 deletions charts/wire-server/templates/galley/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@ spec:
name: galley
key: rabbitmqPassword
{{- end }}
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: galley
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
ports:
- containerPort: {{ .Values.galley.service.internalPort }}
livenessProbe:
Expand Down
12 changes: 12 additions & 0 deletions charts/wire-server/templates/gundeck/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@ spec:
value: {{ join "," .noProxyList | quote }}
{{- end }}
{{- end }}
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: gundeck
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
ports:
- containerPort: {{ .Values.gundeck.service.internalPort }}
livenessProbe:
Expand Down
12 changes: 12 additions & 0 deletions charts/wire-server/templates/spar/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ spec:
value: {{ join "," .noProxyList | quote }}
{{- end }}
{{- end }}
{{- if .Values.otel.enabled }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: {{ .Values.otel.endpoint | quote }}
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: {{ .Values.otel.protocol | quote }}
- name: OTEL_EXPORTER_OTLP_INSECURE
value: {{ .Values.otel.insecure | toString | quote }}
- name: OTEL_SERVICE_NAME
value: spar
- name: OTEL_TRACES_EXPORTER
value: otlp
{{- end }}
ports:
- containerPort: {{ .Values.spar.service.internalPort }}
livenessProbe:
Expand Down
8 changes: 8 additions & 0 deletions charts/wire-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ tags:
integration: false
proxy: false

# OpenTelemetry configuration for services.
# Set enabled: true to inject OTEL_* environment variables into service pods.
otel:
enabled: false
endpoint: http://otel-collector:4318
protocol: http/protobuf
insecure: true

galley:
replicaCount: 3
image:
Expand Down