Skip to content

Commit

Permalink
Helm chart: disable OpenTelemetry SDK when tracing is disabled (#7459)
Browse files Browse the repository at this point in the history
  • Loading branch information
adutra committed Aug 31, 2023
1 parent d0e64ab commit e7dd725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ as necessary. Empty sections will not end in the release notes.
commands.
- Content Generator tool: tool now prints the total number of elements returned when running the
`commits`, `references` and `entries` commands.
- Helm charts: OpenTelemetry SDK is now completely disabled when tracing is disabled.

### Deprecations

Expand Down
3 changes: 3 additions & 0 deletions helm/nessie/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ spec:
value: {{ .Values.tracing.sample | quote }}
{{- end }}
{{- end }}
{{- else }}
- name: QUARKUS_OTEL_SDK_DISABLED
value: "true"
{{- end }}

{{ list .Values.advancedConfig "" | include "nessie.propsToEnvVars" | nindent 12 }}
Expand Down

0 comments on commit e7dd725

Please sign in to comment.