-
Notifications
You must be signed in to change notification settings - Fork 90
Bug 1913464: configure a warning level alert for when the CSV phase isn't success #609
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,9 @@ tests: | |
| - series: 'es_process_cpu_percent{cluster="elasticsearch", instance="localhost:9090", node="elasticsearch-cdm-1"}' | ||
| values: '10+10x8 95+0x100' # 10 20 30 40 50 60 70 80 90 -- 95 (100x) | ||
|
|
||
| - series: 'csv_succeeded{name="elasticsearch-operator.currentversion-builddate"}' | ||
| values: '0+0x10 1+0x90' # flag as unsuccessful for 10 tics and then flag as successful for the rest | ||
|
|
||
| # Rejected indexing requests simulation (note: this simulation also verifies all recording rules) | ||
| # Number of rejected write requests grows at constant pace for 10 minutes | ||
| # and then we repeat this patterns again. This gives us two 10m segments of the series to test on. | ||
|
|
@@ -142,3 +145,14 @@ tests: | |
| alertname: ElasticsearchProcessCPUHigh | ||
| exp_alerts: | ||
|
|
||
| # --------- ElasticsearchCSVNotSuccessful --------- | ||
| - eval_time: 10m | ||
| alertname: ElasticsearchOperatorCSVNotSuccessful | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would "ElasticSearchNotReconciled" be more descriptive from a user perspective?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think its descriptive enough, we also would be pointing to documentation from the message of the alert (in the future)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for what it's worth, i don't have any attachment to |
||
| exp_alerts: | ||
| - exp_labels: | ||
| name: elasticsearch-operator.currentversion-builddate | ||
| severity: warning | ||
| exp_annotations: | ||
| summary: "Elasticsearch Operator CSV Not Successful" | ||
| message: "Elasticsearch Operator CSV has not reconciled succesfully." | ||
|
|
||
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.
does this expression simply check the status of the csv to denote if it was successful?
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.
iirc, csv_succeeded == 0 is the failed phase