-
Notifications
You must be signed in to change notification settings - Fork 58
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 issues in running historical analysis and custom result index section #889
Fix issues in running historical analysis and custom result index section #889
Conversation
Signed-off-by: Jackie Han <[email protected]>
const url = dataSourceId | ||
? `${baseUrl}/${dataSourceId}/start` | ||
: `${baseUrl}/start`; | ||
const baseUrl = `${AD_NODE_API.DETECTOR}/${detectorId}/start`; |
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.
should we have _start
instead of start
? or both can be used?
ref: https://opensearch.org/docs/latest/observing-your-data/ad/api/#start-detector-job
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.
we have to use start
here. It's different from the _start
in the doc you pasted
Signed-off-by: Jackie Han <[email protected]>
e2e CI failed for this error, not related to this pr:
Did manual e2e verification |
…tion (#889) * Fix issues in running historical analysis and custom result index Signed-off-by: Jackie Han <[email protected]> * update snapshot Signed-off-by: Jackie Han <[email protected]> --------- Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit 646a08e)
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.17 2.17
# Navigate to the new working tree
cd .worktrees/backport-2.17
# Create a new branch
git switch --create backport/backport-889-to-2.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 646a08ec2656df5b0597f454fcf4b95f21b513cc
# Push it to GitHub
git push --set-upstream origin backport/backport-889-to-2.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.17 Then, create a pull request where the |
…tion (#889) (#892) * Fix issues in running historical analysis and custom result index Signed-off-by: Jackie Han <[email protected]> * update snapshot Signed-off-by: Jackie Han <[email protected]> --------- Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit 646a08e) Co-authored-by: Jackie Han <[email protected]>
Description
Fix the following issues:
Issues Resolved
[List any issues this PR will resolve]
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.