Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API call /api/test/372/labelValues?limit=XYZ does not limit number of returned objects #2266

Open
jhutar opened this issue Feb 14, 2025 · 0 comments
Labels
area/backend priority/high High priority type/bug Something isn't working

Comments

@jhutar
Copy link

jhutar commented Feb 14, 2025

Describe the bug

Looking into https://horreum.hyperfoil.io/openapi/#tag/Test/operation/labelValues and looks like limit param limits number of labels returned at total across all returned object's values.

Normally limit limits number of returned objects.

Screenshot from Grafana for limit=1:

Image

And limit=2:

Image

And limit=90:

Image

To Reproduce

Attempt to call that API with various limit values and observe number of returned objects

Version

Current on Prod

@jhutar jhutar added the type/bug Something isn't working label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend priority/high High priority type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants