Skip to content

adding prometheus alert rule for pod high memory usage #564

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

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

Conversation

rh-gwinn
Copy link

prometheus / grafana alert setting

@mike-kingsbury
Copy link
Collaborator

/ok-to-test

@mftb
Copy link
Collaborator

mftb commented May 16, 2025

@rh-gwinn please also implement unit tests for this. You can find several examples of unit tests in https://github.com/redhat-appstudio/o11y/tree/main/test/promql/tests/data_plane

@jdcasey
Copy link
Contributor

jdcasey commented May 19, 2025

Also, if it helps there's a reference for these unit tests here: https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/

Copy link
Contributor

@jdcasey jdcasey left a comment

Choose a reason for hiding this comment

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

I think most of these rules are missing thresholds, so I'm not sure if they will always go off, or never go off. I think there might be some duplication in the last 3 alerts in the file, too. And in a couple of cases it looks like the description / summary is wrong or incomplete.

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