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

feat: Add MachineWithoutValidNode alert #2765

Merged

Conversation

mimotej
Copy link
Member

@mimotej mimotej commented Mar 16, 2023

This PR adds a MachineWithoutValidNode alert.
The metrics it uses do not include managed_cluster_id
label by default but they have clusterID instead. In this case clusterID is the ID of the cluster the alert originated in (therefore we can define managed_cluster_id label ourselves). For now I used following guide If you have ideas for better guide feel free to point them out.

@sesheta sesheta added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 16, 2023
@mimotej mimotej changed the title feat: Add MachineWithouValidNode alert feat: Add MachineWithoutValidNode alert Mar 17, 2023
@mimotej
Copy link
Member Author

mimotej commented Mar 20, 2023

/cc @tumido

@sesheta sesheta requested a review from tumido March 20, 2023 07:09
Signed-off-by: Michal Drla <mdrla@redhat.com>
@mimotej mimotej force-pushed the add-MachineWithoutValidNode-alert branch from 2ce428b to a461b89 Compare March 20, 2023 08:32
Copy link
Member

@tumido tumido left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
/ok-to-test

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2023
@sesheta
Copy link
Member

sesheta commented Mar 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tumido

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

The pull request process is described here

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

@sesheta sesheta added approved Indicates a PR has been approved by an approver from all required OWNERS files. ok-to-test labels Mar 20, 2023
@mimotej
Copy link
Member Author

mimotej commented Mar 20, 2023

/retest

@sesheta sesheta merged commit 082b3d7 into operate-first:master Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants