From 6653c4bb8e805102dc3d39127fed2a5afeea5db8 Mon Sep 17 00:00:00 2001 From: Ilia Medvedev Date: Tue, 28 Oct 2025 10:59:39 +0200 Subject: [PATCH] fix(internal-gateway): Propage trace to support tracing on ingress controller --- charts/internal-gateway/Chart.yaml | 2 +- charts/internal-gateway/README.md | 4 ++-- charts/internal-gateway/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/internal-gateway/Chart.yaml b/charts/internal-gateway/Chart.yaml index 5f0b1cf..383c6eb 100644 --- a/charts/internal-gateway/Chart.yaml +++ b/charts/internal-gateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v0.0.0 description: A Helm chart for Codefresh Internal Gateway name: internal-gateway -version: 0.12.0 +version: 0.12.1 home: https://github.com/codefresh-io/helm-charts keywords: - codefresh diff --git a/charts/internal-gateway/README.md b/charts/internal-gateway/README.md index c6ef84f..847c94f 100644 --- a/charts/internal-gateway/README.md +++ b/charts/internal-gateway/README.md @@ -1,6 +1,6 @@ # internal-gateway -![Version: 0.12.0](https://img.shields.io/badge/Version-0.12.0-informational?style=flat-square) ![AppVersion: v0.0.0](https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square) +![Version: 0.12.1](https://img.shields.io/badge/Version-0.12.1-informational?style=flat-square) ![AppVersion: v0.0.0](https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square) A Helm chart for Codefresh Internal Gateway @@ -58,7 +58,7 @@ A Helm chart for Codefresh Internal Gateway | otel.config.endpoint | string | `"localhost:4317"` | | | otel.config.service_name | string | `"codefresh-internal-gateway"` | | | otel.enabled | bool | `false` | | -| otel.httpSnippet | string | `"otel_trace on;\notel_service_name {{ default \"codefresh-internal-gateway\" .Values.otel.config.service_name }};\notel_trace_context \"inject\";\notel_exporter {\n endpoint {{ .Values.otel.config.endpoint}};\n}\n"` | Snippet to be included in the http block of nginx.conf for OTEL configs. See here for available directives https://nginx.org/en/docs/ngx_otel_module.html | +| otel.httpSnippet | string | `"otel_trace on;\notel_service_name {{ default \"codefresh-internal-gateway\" .Values.otel.config.service_name }};\notel_trace_context \"propagate\";\notel_exporter {\n endpoint {{ .Values.otel.config.endpoint}};\n}\n"` | Snippet to be included in the http block of nginx.conf for OTEL configs. See here for available directives https://nginx.org/en/docs/ngx_otel_module.html | | otel.modulePath | string | `"modules/ngx_otel_module.so"` | Path to the OpenTelemetry NGINX module - should be present in the NGINX image, images with -otel tags include it | | pdb | object | See below | PDB parameters | | podAnnotations | object | See below | Pod annotations | diff --git a/charts/internal-gateway/values.yaml b/charts/internal-gateway/values.yaml index d667c71..419a0a4 100644 --- a/charts/internal-gateway/values.yaml +++ b/charts/internal-gateway/values.yaml @@ -341,7 +341,7 @@ otel: httpSnippet: | otel_trace on; otel_service_name {{ default "codefresh-internal-gateway" .Values.otel.config.service_name }}; - otel_trace_context "inject"; + otel_trace_context "propagate"; otel_exporter { endpoint {{ .Values.otel.config.endpoint}}; }