alert-mgmt-06: GET /alerts endpoint#5
Open
sradco wants to merge 1 commit intoalert-mgmt-05-get-healthfrom
Open
alert-mgmt-06: GET /alerts endpoint#5sradco wants to merge 1 commit intoalert-mgmt-05-get-healthfrom
sradco wants to merge 1 commit intoalert-mgmt-05-get-healthfrom
Conversation
c0d1ffd to
afaf00c
Compare
40521d0 to
c9ec4a8
Compare
afaf00c to
6b58b59
Compare
c9ec4a8 to
15ebd83
Compare
6b58b59 to
ec72a13
Compare
15ebd83 to
4df787f
Compare
ec72a13 to
719410e
Compare
4df787f to
f22e335
Compare
719410e to
643f009
Compare
f22e335 to
207c9d0
Compare
643f009 to
8074317
Compare
207c9d0 to
ef07a74
Compare
8074317 to
ab6d08c
Compare
ef07a74 to
0e8d580
Compare
ab6d08c to
a137d01
Compare
0e8d580 to
7096227
Compare
a137d01 to
016c5f4
Compare
7096227 to
54c6286
Compare
016c5f4 to
8833735
Compare
54c6286 to
fdf5bf9
Compare
8833735 to
e0aa1ff
Compare
fdf5bf9 to
7cc59e9
Compare
e0aa1ff to
d92c05e
Compare
7cc59e9 to
3fed1cf
Compare
Add GET /api/v1/alerting/alerts endpoint with: - GetAlerts management implementation: fetches alerts with state/label filtering, health warnings, and alert enrichment - State and label query filter parsing - Alert fetching via management client - Full test coverage for both management function and HTTP handler Signed-off-by: Shirly Radco <sradco@redhat.com> Signed-off-by: João Vilaça <jvilaca@redhat.com> Signed-off-by: Aviv Litman <alitman@redhat.com> Co-authored-by: AI Assistant <noreply@cursor.com>
d92c05e to
d700454
Compare
3fed1cf to
7a20570
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Alert Management API — Part 6/14: GET /alerts endpoint
Summary
GET /api/v1/alerting/alertshandler with label, state, and source filtering via query parametersGetAlerts: enriches raw Prometheus alerts with rule ID and source labels by correlating against relabeled rulesDependencies
This PR is part of a stacked series. Please review in order.
7–14. Pending — rules endpoint, create, delete, classification, platform update, bulk update, docs/CI/e2e, single-rule API