From bfdd17da8296631fbdd064b8a1078c21a87ac0dc Mon Sep 17 00:00:00 2001 From: Jarvis Date: Fri, 16 Oct 2026 08:37:15 +0000 Subject: [PATCH] chore(aisix): drop the retired observability.usage_event.request_headers --- charts/aisix/README.md | 1 - charts/aisix/ci/config-values.yaml | 2 -- charts/aisix/values.yaml | 3 --- 3 files changed, 6 deletions(-) diff --git a/charts/aisix/README.md b/charts/aisix/README.md index 8b84cc0..8733937 100644 --- a/charts/aisix/README.md +++ b/charts/aisix/README.md @@ -564,7 +564,6 @@ rejects. New installs set the value in its own key in `values.yaml` or under | config.observability.metrics.prometheus.enabled | bool | `true` | Serve Prometheus metrics on the metrics listener (`containerPorts.metrics`) | | config.observability.metrics.prometheus.path | string | `"/metrics"` | Metrics path | | config.observability.service_name | string | `"aisix"` | Service name reported in telemetry | -| config.observability.usage_event.request_headers | list | `[]` | Request headers whose values every usage event records (lowercase names; credential headers and duplicates are refused at startup) | | config.proxy.real_ip.header | string | `"x-forwarded-for"` | Header carrying the client IP | | config.proxy.real_ip.recursive | bool | `false` | Walk the header right to left past every trusted proxy | | config.proxy.real_ip.trusted_proxies | list | `[]` | CIDRs (or bare IPs) of proxies trusted to set the client-IP header | diff --git a/charts/aisix/ci/config-values.yaml b/charts/aisix/ci/config-values.yaml index 3099f45..41c620c 100644 --- a/charts/aisix/ci/config-values.yaml +++ b/charts/aisix/ci/config-values.yaml @@ -18,8 +18,6 @@ config: heap_profiling: auto_dump: thresholds: [0.7, 0.95] - usage_event: - request_headers: [x-sub-user, x-department] proxy: real_ip: trusted_proxies: ["10.0.0.0/8", "127.0.0.1/32"] diff --git a/charts/aisix/values.yaml b/charts/aisix/values.yaml index 72f21de..7bd7674 100644 --- a/charts/aisix/values.yaml +++ b/charts/aisix/values.yaml @@ -300,9 +300,6 @@ config: dir: /var/lib/aisix/heap # -- Newest profiles kept keep: 5 - usage_event: - # -- Request headers whose values every usage event records (lowercase names; credential headers and duplicates are refused at startup) - request_headers: [] cache: # -- Legacy cache backend switch, `memory` or `redis`. `redis` requires # `cache.redis`. Which cache serves a request is chosen per cache policy