diff --git a/charts/gateway/Chart.yaml b/charts/gateway/Chart.yaml index 7bd9374..aa30aec 100644 --- a/charts/gateway/Chart.yaml +++ b/charts/gateway/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.57 +version: 0.2.58 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/gateway/README.md b/charts/gateway/README.md index f6df597..b792dd0 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -134,6 +134,7 @@ The command removes all the Kubernetes components associated with the chart and | apisix.timezone | string | `""` | timezone is the timezone where apisix uses. For example: "UTC" or "Asia/Shanghai" This value will be set on apisix container's environment variable TZ. You may need to set the timezone to be consistent with your local time zone, otherwise the apisix's logs may used to retrieve event maybe in wrong timezone. | | apisix.tolerations | list | `[]` | List of node taints to tolerate | | apisix.topologySpreadConstraints | list | `[]` | Topology Spread Constraints for pod assignment https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ The value is evaluated as a template | +| apisix.tracing | bool | `false` | Enable comprehensive request lifecycle tracing (SSL/SNI, rewrite, access, header_filter, body_filter, and log). When disabled, OpenTelemetry collects only a single span per request. | | autoscaling.enabled | bool | `false` | | | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | diff --git a/charts/gateway/templates/configmap.yaml b/charts/gateway/templates/configmap.yaml index c4562ff..c81d97b 100644 --- a/charts/gateway/templates/configmap.yaml +++ b/charts/gateway/templates/configmap.yaml @@ -159,6 +159,8 @@ data: neg_ttl: {{ .Values.apisix.lru.secret.neg_ttl }} neg_count: {{ .Values.apisix.lru.secret.neg_count }} + tracing: {{ .Values.apisix.tracing }} + nginx_config: # config for render the template to genarate nginx.conf error_log: "{{ .Values.logs.errorLog }}" error_log_level: "{{ .Values.logs.errorLogLevel }}" # warn,error diff --git a/charts/gateway/values.yaml b/charts/gateway/values.yaml index 4a6222c..c9055be 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -97,6 +97,10 @@ apisix: neg_ttl: 60 neg_count: 512 + # -- Enable comprehensive request lifecycle tracing (SSL/SNI, rewrite, access, header_filter, body_filter, and log). + # When disabled, OpenTelemetry collects only a single span per request. + tracing: false + # -- Add custom [lua_shared_dict](https://github.com/openresty/lua-nginx-module#toc88) settings, # click [here](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L27-L30) to learn the format of a shared dict customLuaSharedDicts: []