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

[ML] AIOps: Adds execution context to client side data.search requests #154891

Merged

Conversation

walterra
Copy link
Contributor

Summary

Part of #147378. This PR adds context information to data.search requests so that they appear in the search slow log.

Example: "elasticsearch.slowlog.id":"8c67994e-adee-41c2-9eb3-fa8cab881944;kibana:application:aiops:explain_log_rage_spikes;application:aiops:explain_log_rage_spikes"

Checklist

@walterra walterra added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis v8.8.0 labels Apr 13, 2023
@walterra walterra requested a review from a team as a code owner April 13, 2023 08:50
@walterra walterra self-assigned this Apr 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@qn895
Copy link
Member

qn895 commented Apr 13, 2023

LGTM 🎉

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
aiops 22 23 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiops 766.1KB 766.3KB +164.0B
ml 3.4MB 3.4MB +57.0B
total +221.0B
Unknown metric groups

API count

id before after diff
aiops 37 38 +1

ESLint disabled line counts

id before after diff
securitySolution 432 435 +3

Total ESLint disabled count

id before after diff
securitySolution 512 515 +3

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @walterra

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@walterra walterra merged commit 0283b7a into elastic:main Apr 19, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 19, 2023
@walterra walterra deleted the ml-147378-aiops-execution-context-client branch April 19, 2023 13:51
saarikabhasi pushed a commit to saarikabhasi/kibana that referenced this pull request Apr 19, 2023
…sts (elastic#154891)

Part of elastic#147378. This PR adds
context information to data.search requests so that they appear in the
search slow log.
nikitaindik pushed a commit to nikitaindik/kibana that referenced this pull request Apr 25, 2023
…sts (elastic#154891)

Part of elastic#147378. This PR adds
context information to data.search requests so that they appear in the
search slow log.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis :ml release_note:skip Skip the PR/issue when compiling release notes v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants