Skip to content

admin: honor the ?limit= parameter on /metrics/track - #561

Open
afrind wants to merge 1 commit into
mainfrom
fix/track-metrics-limit-param
Open

admin: honor the ?limit= parameter on /metrics/track#561
afrind wants to merge 1 commit into
mainfrom
fix/track-metrics-limit-param

Conversation

@afrind

@afrind afrind commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The parsed value was validated and discarded, so every scrape used admin.track_metrics_endpoint_default_limit and the 400 body told callers to raise a limit that raising did not change.

Also drop the doc's claim that an over-max limit is clamped; it is a 400.

Fixes #560


This change is Reviewable

The parsed value was validated and discarded, so every scrape used
admin.track_metrics_endpoint_default_limit and the 400 body told callers
to raise a limit that raising did not change.

Also drop the doc's claim that an over-max limit is clamped; it is a 400.

Fixes #560
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/metrics/track ignores the limit query parameter

1 participant