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

Adding mechanism to test prometheus alerts #2270

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aruniiird
Copy link
Contributor

@aruniiird aruniiird commented Nov 15, 2023

A mechanism to test ocs-operator metrics / alerts

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 15, 2023
Copy link
Contributor

openshift-ci bot commented Nov 15, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch 26 times, most recently from 152c796 to 2f02329 Compare November 20, 2023 04:18
@aruniiird aruniiird marked this pull request as ready for review November 20, 2023 04:23
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 20, 2023
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 23, 2023
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from 0c64fab to 9b3a6c2 Compare April 18, 2024 12:21
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 18, 2024
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from 9b3a6c2 to b5de721 Compare April 18, 2024 12:22
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 6, 2024
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from b5de721 to 5d014ed Compare July 16, 2024 18:00
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 16, 2024
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch 7 times, most recently from ef7956a to 0e30bc9 Compare July 22, 2024 16:46
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch 2 times, most recently from 2e5db09 to 274369a Compare July 31, 2024 17:11
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 3, 2024
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from 274369a to 71c4f27 Compare October 15, 2024 15:25
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 15, 2024
Copy link
Contributor

openshift-ci bot commented Oct 15, 2024

@aruniiird: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ocs-operator-ci 3feef40 link true /test ocs-operator-ci

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from 71c4f27 to e4c12c2 Compare October 22, 2024 11:06
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch 2 times, most recently from d406a47 to 04d515c Compare November 5, 2024 15:12
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 24, 2024
Now user can pass any '.template' file, with or without
'{{.PrometheusRuleFile}}' template line in it. Code
will automatically add the needed template string accordingly.

This enables the user to use any test file, without any modification
and use it as a template file.

Signed-off-by: Arun Kumar Mohan <[email protected]>
Signed-off-by: Arun Kumar Mohan <[email protected]>
@aruniiird aruniiird force-pushed the add-prometheus-metric-test branch from 04d515c to b0ef9e2 Compare January 20, 2025 07:24
Copy link
Contributor

openshift-ci bot commented Jan 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found 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

@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 20, 2025
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.

4 participants