Skip to content

Commit

Permalink
feat: add support for multiple otlp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
adnan-kamili committed Sep 3, 2024
1 parent 8fac6d0 commit a66fede
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cryptlex/cryptlex-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://cryptlex.com
icon: https://cryptlex.com/images/cryptlex_icon.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: "3.17.13"
version: "3.17.14"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: "3.17.13"
appVersion: "3.17.14"
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,9 @@ stringData:
{{ end }}
{{ end }}
NEW_RELIC_LICENSE_KEY: {{ .Values.webApi.newRelic.licenseKey | quote }}
OTEL_EXPORTER_OTLP_HEADERS: {{ .Values.webApi.openTelemetry.otlpHeaders | quote }}
OTEL_EXPORTER_OTLP_HEADERS: "{{- range $index, $header := .Values.webApi.openTelemetry.otlpHeaders -}}
{{- if $index }}, {{ end -}}
{{- range $key, $value := $header }}
{{ $key }}={{ $value }}
{{ end -}}
{{- end }}"
3 changes: 2 additions & 1 deletion cryptlex/cryptlex-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ webApi:
# OpenTelemetry
openTelemetry:
otlpEndpoint: ""
otlpHeaders: ""
otlpHeaders: []

# Hangfire dashboard
hangfireDashboard:
username: ""
Expand Down

0 comments on commit a66fede

Please sign in to comment.