From 6a74c9e706b624d53029fb8e54c25852b38e9239 Mon Sep 17 00:00:00 2001 From: Weifeng Wang Date: Sun, 7 Dec 2025 15:43:08 +0800 Subject: [PATCH 1/2] Add the missing tempo-gateway (nginx) configuration in tempo-distributed to enable TraceQL streaming. Signed-off-by: Weifeng Wang --- charts/tempo-distributed/Chart.yaml | 2 +- charts/tempo-distributed/README.md | 3 ++- charts/tempo-distributed/values.yaml | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/charts/tempo-distributed/Chart.yaml b/charts/tempo-distributed/Chart.yaml index f6fba5a8c7..f0f1bfc345 100644 --- a/charts/tempo-distributed/Chart.yaml +++ b/charts/tempo-distributed/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: tempo-distributed description: Grafana Tempo in MicroService mode type: application -version: 1.57.0 +version: 1.57.1 appVersion: 2.9.0 engine: gotpl home: https://grafana.com/docs/tempo/latest/ diff --git a/charts/tempo-distributed/README.md b/charts/tempo-distributed/README.md index ee6a10f034..7975687175 100644 --- a/charts/tempo-distributed/README.md +++ b/charts/tempo-distributed/README.md @@ -1,6 +1,6 @@ # tempo-distributed -![Version: 1.57.0](https://img.shields.io/badge/Version-1.57.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square) +![Version: 1.57.1](https://img.shields.io/badge/Version-1.57.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square) Grafana Tempo in MicroService mode @@ -986,6 +986,7 @@ The memcached default args are removed and should be provided manually. The sett | storage.trace.pool.max_workers | int | `400` | Total number of workers pulling jobs from the queue | | storage.trace.pool.queue_depth | int | `20000` | Length of job queue. imporatant for querier as it queues a job for every block it has to search | | storage.trace.search.prefetch_trace_count | int | `1000` | Number of traces to prefetch while scanning blocks. Increasing this value can improve trace search performance at the cost of memory. | +| streamOverHTTPEnabled | bool | `false` | Enable streaming over HTTP for tempo and Tempo gateway(nginx) | | tempo.image.pullPolicy | string | `"IfNotPresent"` | | | tempo.image.pullSecrets | list | `[]` | Optional list of imagePullSecrets. Overrides `global.image.pullSecrets` | | tempo.image.registry | string | `"docker.io"` | The Docker registry | diff --git a/charts/tempo-distributed/values.yaml b/charts/tempo-distributed/values.yaml index f7d21875cb..d7385ec46e 100755 --- a/charts/tempo-distributed/values.yaml +++ b/charts/tempo-distributed/values.yaml @@ -59,6 +59,9 @@ externalConfigVersion: '0' # -- If true, Tempo will report anonymous usage data about the shape of a deployment to Grafana Labs reportingEnabled: true +# -- Enable streaming over HTTP for tempo and Tempo gateway(nginx) +streamOverHTTPEnabled: false + tempo: image: # -- The Docker registry @@ -1325,6 +1328,8 @@ memberlist: config: | multitenancy_enabled: {{ .Values.multitenancyEnabled }} + stream_over_http_enabled: {{ .Values.streamOverHTTPEnabled }} + usage_report: reporting_enabled: {{ .Values.reportingEnabled }} @@ -2236,6 +2241,15 @@ gateway: server { listen 8080; + {{- if .Values.streamOverHTTPEnabled }} + http2 on; + + location /tempopb.StreamingQuerier/ { + set $query_frontend {{ include "tempo.resourceName" (dict "ctx" . "component" "query-frontend") }}.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}; + grpc_pass grpc://$query_frontend:3200; + } + {{- end }} + {{- if .Values.gateway.basicAuth.enabled }} auth_basic "Tempo"; auth_basic_user_file /etc/nginx/secrets/.htpasswd; From 06724f596701926ef364c4990f0b949bd85d0cf0 Mon Sep 17 00:00:00 2001 From: Weifeng Wang Date: Sun, 7 Dec 2025 19:53:03 +0800 Subject: [PATCH 2/2] Update values.yaml Signed-off-by: Weifeng Wang --- charts/tempo-distributed/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/tempo-distributed/values.yaml b/charts/tempo-distributed/values.yaml index d7385ec46e..fd923b0acb 100755 --- a/charts/tempo-distributed/values.yaml +++ b/charts/tempo-distributed/values.yaml @@ -2243,7 +2243,6 @@ gateway: {{- if .Values.streamOverHTTPEnabled }} http2 on; - location /tempopb.StreamingQuerier/ { set $query_frontend {{ include "tempo.resourceName" (dict "ctx" . "component" "query-frontend") }}.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}; grpc_pass grpc://$query_frontend:3200;