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

[Response Ops][Alerting] Removing diagnostic logging for ES query rule #203328

Merged
merged 5 commits into from
Dec 10, 2024

Conversation

ymao1
Copy link
Contributor

@ymao1 ymao1 commented Dec 6, 2024

Resolves #200023

Summary

Removes the logging that was added in #186332. Since deploying that code, we've found that all of the generated logs have been false positives. Furthermore, we have a new lead on why the false alerts have been triggering and it is related more to field caps errors than anything in our rule executor logic (#201266)

@ymao1 ymao1 self-assigned this Dec 6, 2024
@ymao1 ymao1 added Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v9.0.0 backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) v8.18.0 labels Dec 6, 2024
@ymao1 ymao1 marked this pull request as ready for review December 6, 2024 19:16
@ymao1 ymao1 requested a review from a team as a code owner December 6, 2024 19:16
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@ymao1 ymao1 requested review from pmuellr and adcoelho December 6, 2024 19:16
Copy link
Member

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

LGTM

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 9, 2024

@elasticmachine merge upstream

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 9, 2024

@elasticmachine merge upstream

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 9, 2024

@elasticmachine merge upstream

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 9, 2024

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @ymao1

@ymao1 ymao1 merged commit cbee44b into elastic:main Dec 10, 2024
8 checks passed
@ymao1 ymao1 deleted the ro-200023 branch December 10, 2024 04:46
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12249588127

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 10, 2024
…ry rule (#203328) (#203513)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Response Ops][Alerting] Removing diagnostic logging for ES query
rule (#203328)](#203328)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T04:46:21Z","message":"[Response
Ops][Alerting] Removing diagnostic logging for ES query rule
(#203328)","sha":"cbee44b7f9f8fe2dcee47ee027d8fa0bbeb24ef3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.18.0"],"title":"[Response
Ops][Alerting] Removing diagnostic logging for ES query
rule","number":203328,"url":"https://github.com/elastic/kibana/pull/203328","mergeCommit":{"message":"[Response
Ops][Alerting] Removing diagnostic logging for ES query rule
(#203328)","sha":"cbee44b7f9f8fe2dcee47ee027d8fa0bbeb24ef3"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203328","number":203328,"mergeCommit":{"message":"[Response
Ops][Alerting] Removing diagnostic logging for ES query rule
(#203328)","sha":"cbee44b7f9f8fe2dcee47ee027d8fa0bbeb24ef3"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ying Mao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ResponseOps] improve query-result-out-of-time-range message in ES Query rule
4 participants