Skip to content

Commit 9d75684

Browse files
fix(internal-gateway): Propage trace to support tracing on ingress controller (#127)
1 parent 3ef0549 commit 9d75684

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/internal-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v0.0.0
33
description: A Helm chart for Codefresh Internal Gateway
44
name: internal-gateway
5-
version: 0.12.0
5+
version: 0.12.1
66
home: https://github.com/codefresh-io/helm-charts
77
keywords:
88
- codefresh

charts/internal-gateway/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# internal-gateway
22

3-
![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)
3+
![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)
44

55
A Helm chart for Codefresh Internal Gateway
66

@@ -58,7 +58,7 @@ A Helm chart for Codefresh Internal Gateway
5858
| otel.config.endpoint | string | `"localhost:4317"` | |
5959
| otel.config.service_name | string | `"codefresh-internal-gateway"` | |
6060
| otel.enabled | bool | `false` | |
61-
| 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 |
61+
| 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 |
6262
| 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 |
6363
| pdb | object | See below | PDB parameters |
6464
| podAnnotations | object | See below | Pod annotations |

charts/internal-gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ otel:
341341
httpSnippet: |
342342
otel_trace on;
343343
otel_service_name {{ default "codefresh-internal-gateway" .Values.otel.config.service_name }};
344-
otel_trace_context "inject";
344+
otel_trace_context "propagate";
345345
otel_exporter {
346346
endpoint {{ .Values.otel.config.endpoint}};
347347
}

0 commit comments

Comments
 (0)