Release date 2026/09/15
Bugfix
Fixed
kong_ai_llm_tokens_totalnever 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.A histogram’s series (its buckets,
_countand_sum) is now read as one atomic group during a scrape. Previously the exporter yielded and flushed output between individual samples, so an observation landing mid-scrape could bump_count/_sumafter the buckets were already read, producing an internally inconsistent histogram in a single response.Fixed an issue where
kong_nginx_requests_totalandkong_nginx_connections_totalduplicated thehttpvalues under thestreamsubsystem. They are now exported once underhttp.Histogram series are now emitted grouped by label set (all buckets in ascending
leorder, then_count, then_sum) so the output follows the OpenMetrics interleaving rule. Previously samples were grouped by suffix, which caused strict consumers such as Google Managed Prometheus to drop points.Histograms now expose every bucket (including those with a value of
0) starting from the first observation of a given label set. Previously only buckets greater than or equal to the observed value were created, so lower buckets appeared lazily on later scrapes.