Skip to content

Commit

Permalink
feat: otel labels
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed May 14, 2024
1 parent e2d4129 commit 9291316
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
mountPath: {{ .Values.identityRoleMapper.configMap.mountPath}}
{{- end}}
env:
{{- if (tpl .Values.otel.labels .)}}
- name: OTEL_LABELS
value: "{{(tpl .Values.otel.labels .)}}"
{{- end}}
- name: DB_URL
valueFrom:
secretKeyRef:
Expand Down
6 changes: 6 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ global:
tlsSecretName: ""
otel:
collector: ""
labels: ""
db:
connectionPooler:
enabled: false
Expand Down Expand Up @@ -74,6 +75,7 @@ otel:
# OpenTelemetry gRPC collector endpoint in host:port format
collector: "{{.Values.global.otel.collector}}"
serviceName: "mission-control"
labels: "{{ .Values.global.otel.labels }}"
# Properties to configure mission-control feature sets
properties:
incidents.disable: true
Expand Down Expand Up @@ -140,6 +142,7 @@ canary-checker:
disablePostgrest: true
otel:
collector: "{{ .Values.global.otel.collector }}"
labels: "{{ .Values.global.otel.labels }}"
db:
runMigrations: false
external:
Expand All @@ -153,6 +156,9 @@ canary-checker:
enabled: false
config-db:
disablePostgrest: true
otel:
collector: "{{ .Values.global.otel.collector }}"
labels: "{{ .Values.global.otel.labels }}"
db:
runMigrations: false
embedded:
Expand Down

0 comments on commit 9291316

Please sign in to comment.