Release date 2026/09/15
Feature
Added a
metrics.enable_principal_attributeconfig option. When enabled, the principal attributes are added to the metrics when an authenticated principal is available.Added the log fields that plugins set with
kong.log.set_serialize_valueto the access log export, so users no longer needcustom_attributes_by_luato deliver them.
Bugfix
Fixed
gen_ai.client.token.usagenever reporting token counts for non-text-generation AI categories (image, video, realtime, and audio transcription generation), because it only read the legacyprompt_tokens/prompt_tokens_detailsanalytics log fields instead of falling back to theinput_tokens/input_tokens_detailsfields those categories are logged under.Fixed an issue where a
custom_attributes_by_luakey that conflicts with an existing log field stopped the log handlers of the plugins that run later.Fixed an issue where metrics were rarely (or never) exported on data planes whose configuration is rebuilt more frequently than the metrics
push_interval. The periodic metrics push timer is no longer cancelled and recreated on every configuration rebuild, so itspush_intervalcountdown is preserved.Fixed an issue where OpenTelemetry metrics only supported integer values by adding support for floating-point values in the OTLP exporter.
Fixed an issue where the
kong.dp.cluster_cert.expirymetric reused the same datapoint timestamp across exports, causing monitoring systems to treat the series as stale.Reduced per-request overhead of
resource_attributesby skipping template rendering entirely for static (non-templated) fields.
Performance
Reduced memory usage of the access log queue by deferring OTLP payload conversion to export time.