Skip to content

metrics: Enable client side alerting#530

Draft
ShravaniVangur wants to merge 2 commits intored-hat-storage:mainfrom
ShravaniVangur:cluster-alerts
Draft

metrics: Enable client side alerting#530
ShravaniVangur wants to merge 2 commits intored-hat-storage:mainfrom
ShravaniVangur:cluster-alerts

Conversation

@ShravaniVangur
Copy link
Contributor

This PR creates:

  • Alert Collector: to collect the name,labels and value of the alerts that are being retrieved through the GetClientAlerts() RPC call.
  • Static PrometheusRules: which map the labels to the rule CRs and build the message/description from labels.

Adds alert collector that calls GetClientAlerts()
and exports alerts as prometheus metrics. Also creates
static PrometheusRule CR on client clusters.

Signed-off-by: ShravaniVangur <shravanivangur@gmail.com>
Consists of vendor file changes.

Signed-off-by: ShravaniVangur <shravanivangur@gmail.com>
@openshift-ci
Copy link

openshift-ci bot commented Mar 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ShravaniVangur
Once this PR has been reviewed and has the lgtm label, please assign leelavg for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant