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

fix(api): Send warnings only if the limit is really exceeded #14116

Merged
merged 1 commit into from
May 21, 2024

Conversation

machine424
Copy link
Collaborator

@machine424 machine424 commented May 17, 2024

For the the series, label names and label values APIs

Add warnings count check to TestEndpoints

The limit param was added in #13396

This fixes https://github.com/prometheus/prometheus/pull/13396/files#r1538010352

@machine424
Copy link
Collaborator Author

for the the series, label names and label values APIs

Add warnings count check to TestEndpoints

The limit param was added in prometheus#13396

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
@machine424 machine424 marked this pull request as ready for review May 17, 2024 13:26
@machine424
Copy link
Collaborator Author

fix pushed, ready for review.

@machine424 machine424 requested a review from bboreham May 17, 2024 13:27
Copy link
Member

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@machine424
Copy link
Collaborator Author

cc @kartikaysaxena

@machine424 machine424 merged commit fabcd7e into prometheus:main May 21, 2024
25 checks passed
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.

None yet

2 participants