Apache APISIX Enhances Stream Prometheus Observability and Adds Multi-Cluster Kubernetes Support
Apache APISIX October 2026 release highlights, featuring Stream Prometheus metrics, OpenResty worker resource monitoring, and multi-cluster Kubernetes service discovery.
Curated by Vibe DevOps · approx. 515 words
Key Takeaways
- Added service and service_id labels to four Stream Prometheus metrics to distinguish traffic sharing identical ports.
- Introduced Gauge metrics to monitor OpenResty worker Lua memory usage, active connections, and running timers.
- Added support for configurable Prometheus key cleanup intervals and JSON-formatted rate_limiting_info logging.
- Enabled aggregated multi-cluster Kubernetes service discovery and added the allow_degradation fail-open option for the WAF plugin.
From Original Source
Advanced Observability and Traffic Control
Apache APISIX adds service and service_id labels to Stream Prometheus metrics, allowing operators to isolate per-service traffic on shared ports. The platform also introduces Gauge metrics tracking OpenResty worker Lua memory, active connections, and timers to provide early warnings against resource exhaustion.
A new rate_limiting_info variable exports rate-limiting decision details as JSON in access logs, streamlining traffic throttling diagnostics. Operators can also configure the Prometheus metric key cleanup interval instead of relying on the default 3,600-second threshold.
From Original Source
Multi-Cluster Connectivity and Security Hardening
On the connectivity front, Kubernetes service discovery now supports discovery_args.cluster_ids to aggregate endpoints across multiple clusters. Consul discovery adds support for mixed HTTP and HTTPS endpoint registries, defaulting to port 443 for encrypted traffic.
For security, the openid-connect plugin allows mapping validated claims to upstream request headers while stripping client-supplied headers to prevent spoofing. Upgrading to lua-resty-openidc 1.9.3 isolates 401 Unauthorized responses for invalid tokens from 503 Service Unavailable responses for backend IdP faults. Additionally, the WAF plugin introduces allow_degradation to prevent service outages during inspection engine failures.
Vibe DevOps Editorial Commentary
Vibe DevOps Perspective: Production Considerations
Vibe DevOps Perspective: Injecting new labels into Prometheus time series can change the cardinality and break unaggregated PromQL alert rules. SRE teams should review and validate alerting rules before deploying to production.
For multi-cluster routing and WAF degradation policies, thoroughly test failure scenarios in staging to maintain service availability without introducing unvetted security exposure.
Commands & Configuration Snippets
Verbatim extract for quick lookup. Verify against your infrastructure before running.
plugin_attr.prometheus.remove_expired_keys_intervalConfigure the cleanup interval for expired Prometheus metric keys.
discovery_args.cluster_idsDeclare the list of Kubernetes cluster identifiers to retrieve aggregated service endpoints.
allow_degradationOption to allow traffic to pass through when the WAF system is unavailable.
⚠️ Operational Caveats & Limitations
- The mcp-bridge plugin has been removed; migrate to openapi-to-mcp if integration is required.
- WAF fail-open mode (allow_degradation) is disabled by default to prioritize security posture.