From 879f60138490c5863aec90d0c9e4cc54044508a1 Mon Sep 17 00:00:00 2001 From: Vee Goldsby Date: Mon, 20 Jul 2026 15:53:23 -0700 Subject: [PATCH 1/4] [chore][INF-7329] Allow selectively sending telemetry inputs to Retool --- charts/retool/templates/deployment_telemetry.yaml | 4 ++++ charts/retool/values.yaml | 8 ++++++++ values.yaml | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/charts/retool/templates/deployment_telemetry.yaml b/charts/retool/templates/deployment_telemetry.yaml index a4ba0d09..8e5c468b 100644 --- a/charts/retool/templates/deployment_telemetry.yaml +++ b/charts/retool/templates/deployment_telemetry.yaml @@ -74,6 +74,10 @@ spec: value: {{ include "retool.telemetry.logSourcePodLabels" . | quote }} - name: RTEL_SEND_TO_RETOOL value: {{ .Values.telemetry.sendToRetool.enabled | quote }} + {{- if .Values.telemetry.sendToRetool.enabled }} + - name: RTEL_SEND_TO_RETOOL_INPUT_ALLOWLIST + value: {{ join "," .Values.telemetry.sendToRetool.inputs | quote }} + {{- end }} {{- if .Values.telemetry.extraEnv }} {{- .Values.telemetry.extraEnv | toYaml | nindent 10 }} {{- end }} diff --git a/charts/retool/values.yaml b/charts/retool/values.yaml index afa05175..68ed3d4d 100644 --- a/charts/retool/values.yaml +++ b/charts/retool/values.yaml @@ -1548,6 +1548,14 @@ telemetry: # Should not be changed except for chart testing. address: "https://telemetry.retool.com:443" + # Only relevant when `telemetry.sendToRetool.enabled = true`. + # Specify which inputs to send to Retool. Available inputs are: + # container_logs - logs from all pods + # metrics - app and infra metrics + # otlp_traces - app request traces + inputs: + - metrics + image: repository: "tryretool/telemetry" diff --git a/values.yaml b/values.yaml index afa05175..68ed3d4d 100644 --- a/values.yaml +++ b/values.yaml @@ -1548,6 +1548,14 @@ telemetry: # Should not be changed except for chart testing. address: "https://telemetry.retool.com:443" + # Only relevant when `telemetry.sendToRetool.enabled = true`. + # Specify which inputs to send to Retool. Available inputs are: + # container_logs - logs from all pods + # metrics - app and infra metrics + # otlp_traces - app request traces + inputs: + - metrics + image: repository: "tryretool/telemetry" From 319a2f96a174c794cca90a6623c6dfb62d6a1a88 Mon Sep 17 00:00:00 2001 From: Vee Goldsby Date: Mon, 20 Jul 2026 16:29:42 -0700 Subject: [PATCH 2/4] fail on empty inputs --- charts/retool/templates/deployment_telemetry.yaml | 3 +++ charts/retool/values.yaml | 3 ++- values.yaml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/retool/templates/deployment_telemetry.yaml b/charts/retool/templates/deployment_telemetry.yaml index 8e5c468b..8938eab9 100644 --- a/charts/retool/templates/deployment_telemetry.yaml +++ b/charts/retool/templates/deployment_telemetry.yaml @@ -75,6 +75,9 @@ spec: - name: RTEL_SEND_TO_RETOOL value: {{ .Values.telemetry.sendToRetool.enabled | quote }} {{- if .Values.telemetry.sendToRetool.enabled }} + {{- if not .Values.telemetry.sendToRetool.inputs }} + {{ fail "telemetry.sendToRetool.enabled is true, so telemetry.sendToRetool.inputs must contain at least one element" }} + {{- end }} - name: RTEL_SEND_TO_RETOOL_INPUT_ALLOWLIST value: {{ join "," .Values.telemetry.sendToRetool.inputs | quote }} {{- end }} diff --git a/charts/retool/values.yaml b/charts/retool/values.yaml index 68ed3d4d..a7402ef5 100644 --- a/charts/retool/values.yaml +++ b/charts/retool/values.yaml @@ -1549,7 +1549,8 @@ telemetry: address: "https://telemetry.retool.com:443" # Only relevant when `telemetry.sendToRetool.enabled = true`. - # Specify which inputs to send to Retool. Available inputs are: + # Specify which inputs to send to Retool. Must not be empty. + # Available inputs are: # container_logs - logs from all pods # metrics - app and infra metrics # otlp_traces - app request traces diff --git a/values.yaml b/values.yaml index 68ed3d4d..a7402ef5 100644 --- a/values.yaml +++ b/values.yaml @@ -1549,7 +1549,8 @@ telemetry: address: "https://telemetry.retool.com:443" # Only relevant when `telemetry.sendToRetool.enabled = true`. - # Specify which inputs to send to Retool. Available inputs are: + # Specify which inputs to send to Retool. Must not be empty. + # Available inputs are: # container_logs - logs from all pods # metrics - app and infra metrics # otlp_traces - app request traces From 0bea32f316761793b72e5a71949343522bf5af66 Mon Sep 17 00:00:00 2001 From: Vee Goldsby Date: Mon, 20 Jul 2026 16:34:01 -0700 Subject: [PATCH 3/4] bump version (every time with this) --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 5eaeda6e..0e55baea 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.11.10 +version: 6.11.11 maintainers: - name: Retool Engineering email: engineering+helm@retool.com From 70735c61a6a2d8540a6798902eb110bd8bb6dffb Mon Sep 17 00:00:00 2001 From: Vee Goldsby Date: Mon, 20 Jul 2026 16:38:24 -0700 Subject: [PATCH 4/4] version race --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 0e55baea..a28459dc 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.11.11 +version: 6.11.12 maintainers: - name: Retool Engineering email: engineering+helm@retool.com