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

Fix rejection ratio alert #508

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

gabrielcocenza
Copy link
Member

OpenSearch does not have thread pool with the name bulk. However, there is a field named "write" that can be used by bulk or writing a single instance.

This PR adds the necessary logic to use the OpenSearch data coming from the exporter and because the expression is big, it was separated into smaller expressions using record.

To see the original rule that was inspiration for this alert see this repo

Fix: #503

OpenSearch does not have thread pool with the name bulk. However,
there is a field named "write" that can be used by bulk or writing
a single instance.

This PR adds the necessary logic to use the OpenSearch data coming
from the exporter and because the expression is big, it was
separated into smaller expressions using record.

To see the original rule that was inspiration for this alert see
this [repo](https://github.com/lukas-vlcek/prometheus-elasticsearch-rules/blob/master/logging_elasticsearch.rules.yaml)

Fix: canonical#503
zmraul
zmraul previously approved these changes Nov 28, 2024
@gabrielcocenza gabrielcocenza merged commit 85c7868 into canonical:2/edge Nov 29, 2024
37 of 41 checks passed
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.

OpenSearchBulkRequestsRejectionJumps alert is using an invalid expression
3 participants