-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Adding ML execution context to es requests (#148746)
Adds the page path as the ID to our existing execution context and adds an additional context entry to every ml kibana endpoint. In the search slow log, the id for each slow search from ML will look like this: `"a90d5297-fd77-4ea0-ac0d-c302963d7e75;kibana:application:ml:%2Fjobs%2Fnew_job%2Fsingle_metric;application:ml:%2Fapi%2Fml%2Fjobs%2Fnew_job_line_chart` Separating by semicolon: `a90d5297-fd77-4ea0-ac0d-c302963d7e75` -> kibana ID `kibana:application:ml:%2Fjobs%2Fnew_job%2Fsingle_metric` -> default context items added on the client side to show the source page. `application:ml:%2Fapi%2Fml%2Fjobs%2Fnew_job_line_chart` -> new items added by the server to show the source endpoint path. Note, the paths have been encoded to replace the forward slashes. Part of #147378
- Loading branch information
1 parent
badf9a8
commit afb84dc
Showing
3 changed files
with
44 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters