Skip to content

Commit

Permalink
Merge pull request #36 from flanksource/feat/otel-labels
Browse files Browse the repository at this point in the history
feat: add org id and tenatn slug to otel labels
  • Loading branch information
moshloop authored May 15, 2024
2 parents 6f64737 + ce356a6 commit c11f6c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions chart/templates/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
name: vc-{{ .Release.Name }}
key: config
{{- with .Values.missionControl }}
{{- $customValues := dict }}
{{- $_ := set $customValues "global" (dict "otel" (dict "labels" (printf "org.id=%s,tenant.slug=%s" .clerkOrgID .tenantSlug))) }}
{{- $mergedValues := mergeOverwrite . $customValues }}
values:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- toYaml $mergedValues | nindent 4 }}
{{- end }}

0 comments on commit c11f6c9

Please sign in to comment.