feat: paginate user list via marker for clusters with >1000 users #1

Merged
AzSiAz merged 1 commit from feat/user-list-pagination into main 2026-05-16 17:57:57 +02:00
Owner

Without an explicit max-entries, RADOSGW's admin API caps ?list at
~1000 keys and signals overflow via truncated: true + a marker. The
previous one-shot call silently dropped users past the first page.

Loop until truncated is false, accumulating keys. Guard against a
truncated response with an empty/missing marker to avoid infinite loops.

Mirrors upstream PR blemmenes/radosgw_usage_exporter#57.
Bumps to 1.1.0

Without an explicit `max-entries`, RADOSGW's admin API caps `?list` at ~1000 keys and signals overflow via `truncated: true` + a `marker`. The previous one-shot call silently dropped users past the first page. Loop until `truncated` is false, accumulating `keys`. Guard against a truncated response with an empty/missing marker to avoid infinite loops. Mirrors upstream PR blemmenes/radosgw_usage_exporter#57. Bumps to 1.1.0
AzSiAz self-assigned this 2026-05-16 17:55:26 +02:00
feat: paginate user list via marker for clusters with >1000 users
All checks were successful
ci/woodpecker/pr/pr Pipeline was successful
b5740bbdf9
Without an explicit `max-entries`, RADOSGW's admin API caps `?list` at
~1000 keys and signals overflow via `truncated: true` + a `marker`. The
previous one-shot call silently dropped users past the first page.

Loop until `truncated` is false, accumulating `keys`. Guard against a
truncated response with an empty/missing marker to avoid infinite loops.

Mirrors upstream PR blemmenes/radosgw_usage_exporter#57.
Bumps to 1.1.0
AzSiAz merged commit 60557dddce into main 2026-05-16 17:57:57 +02:00
AzSiAz deleted branch feat/user-list-pagination 2026-05-16 17:57:58 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AzSiAz/radosgw_prom_exporter!1
No description provided.