alert-mgmt-02: k8s: add alert listing/query and filter primitives#1
Open
sradco wants to merge 1 commit intoalert-mgmt-01-k8s-foundationfrom
Open
alert-mgmt-02: k8s: add alert listing/query and filter primitives#1sradco wants to merge 1 commit intoalert-mgmt-01-k8s-foundationfrom
sradco wants to merge 1 commit intoalert-mgmt-01-k8s-foundationfrom
Conversation
e38bbf8 to
fb22c01
Compare
af91c3f to
c4c75e8
Compare
fb22c01 to
10099ad
Compare
c4c75e8 to
a980ad1
Compare
10099ad to
3c4424e
Compare
a8171e2 to
648db25
Compare
68beae9 to
ab9515e
Compare
648db25 to
8828c5a
Compare
ab9515e to
a82ec2e
Compare
8828c5a to
446a95a
Compare
a82ec2e to
0480720
Compare
12c4d9f to
d8acbb4
Compare
0480720 to
1cbfb7d
Compare
d8acbb4 to
314d236
Compare
Add PrometheusAlerts implementation with: - Alert fetching from platform and user-workload Prometheus/Thanos - Rule group fetching with namespace-scoped Thanos tenancy queries - State-based filtering (firing, pending, silenced) - Label-based flat filtering with key=value matching - TLS transport with service CA for in-cluster communication 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>
1cbfb7d to
789cbb0
Compare
314d236 to
d853dd3
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 2/14: alert listing, query & filter primitives
Summary
PrometheusAlertsimplementation: fetches alerts and rule groups from both platform and user-workload Prometheus/Thanos endpointskey=value) with special handling fornamespace(used for tenancy selection, not rule filtering)match[]semantics) supporting full selectors and selector bodiesDependencies
This PR is part of a stacked series. Please review in order.
3–14. Pending — relabel config, alerting health, management foundation, CRUD endpoints, classification, bulk update, docs/CI/e2e, single-rule API