diff --git a/charts/aisix/README.md b/charts/aisix/README.md index 6c0dedb..4988906 100644 --- a/charts/aisix/README.md +++ b/charts/aisix/README.md @@ -560,6 +560,7 @@ 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/values.yaml b/charts/aisix/values.yaml index 5873ab6..780e016 100644 --- a/charts/aisix/values.yaml +++ b/charts/aisix/values.yaml @@ -300,6 +300,9 @@ 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