Skip to content

fix(prometheus): bump nginx-lua-prometheus-api7 to 1.0.0 - #13754

Open
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:fix/prometheus-bump-nlp-1.0.0
Open

fix(prometheus): bump nginx-lua-prometheus-api7 to 1.0.0#13754
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:fix/prometheus-bump-nlp-1.0.0

Conversation

@AlinsRan

Copy link
Copy Markdown
Contributor

What

Bumps nginx-lua-prometheus-api7 from 0.20260716-1 to 1.0.0-1.

Why

0.20260716 predates the fix for the shared-dict step-down bug (#13658): on a full metric dict, remove_expired_keys() never called dict:flush_expired(), so expired entries were not reclaimed — usage ratcheted down until the dict filled and stayed full. 1.0.0 reclaims them.

The dependency also switched to semantic versioning starting at 1.0.0: its upstream (knyar/nginx-lua-prometheus) is dormant (last release 2024-05), so the fork is now maintained independently and no longer tracks upstream date-based snapshots. 1.0.0 sorts above all previous 0.YYYYMMDD versions in luarocks (major 1 > 0), so this is a normal forward bump.

nginx-lua-prometheus-api7-1.0.0-1 is published on luarocks.

Fixes #13658

The 0.20260716 pin predates the fix for the shared-dict step-down: on a full
metric dict, remove_expired_keys() did not reclaim expired entries, so usage
ratcheted down until the dict filled and stayed full. 1.0.0 calls
dict:flush_expired() to actually reclaim them.

The dependency also switched to semantic versioning starting at 1.0.0 (its
upstream is dormant and it is now maintained independently as a fork).

Fixes apache#13658
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Prometheus shared dict free_space drops periodically when metric expire is enabled

1 participant