-
Notifications
You must be signed in to change notification settings - Fork 9
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
apps sc: Alert size over limit only on active indicies #2203
Conversation
@elastisys/goto-logging-stack Would anyone of you like to take over this idea to make the alerts only report indices that are actively written to? |
Do you have time for this @salehsedghpour ? I might have time next week, but otherwise I wont have time until January, if not I can take it anyway. |
Yeah sure, I'll test it, I might have time for it next week. |
I've tested it and it works perfectly. I believe the use of |
Nice! 👍 I agree that it makes more sense to use |
helmfile.d/charts/prometheus-alerts/templates/alerts/opensearch.yaml
Outdated
Show resolved
Hide resolved
helmfile.d/charts/prometheus-alerts/templates/alerts/opensearch.yaml
Outdated
Show resolved
Hide resolved
337deb3
to
ec90572
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, cannot approve though as I opened it 😅
ec90572
to
c151444
Compare
Warning
This is a public repository, ensure not to disclose:
What kind of PR is this?
Required: Mark one of the following that is applicable:
Optional: Mark one or more of the following that are applicable:
Important
Breaking changes should be marked
kind/admin-change
orkind/dev-change
depending on typeCritical security fixes should be marked with
kind/security
What does this PR do / why do we need this PR?
This changes the index over size limit alert to only consider indices with a positive document rate over the last hour, meaning it will eventually stop alerting for indices that are inactive such as after a successful rollover.
Information to reviewers
I haven't had the time to test it yet.
Checklist
NetworkPolicy Dashboard