-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
HLRC: ML start data feed API #33898
HLRC: ML start data feed API #33898
Conversation
Pinging @elastic/es-core-infra |
Pinging @elastic/ml-core |
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.
I just left a suggestion for the docs.
-------------------------------------------------- | ||
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-start-datafeed-request-options] | ||
-------------------------------------------------- | ||
<1> Set when the datafeed should end |
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.
I think we should document the format and special values here as well as in the Javadoc as this is so important for correct usage of the endpoint. For "end":
- If it's not set then the datafeed will run continuously
now
is a special value- Otherwise it can be an ISO8601 time format or seconds or milliseconds since the epoch
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-start-datafeed-request-options] | ||
-------------------------------------------------- | ||
<1> Set when the datafeed should end | ||
<2> Set when the datafeed should 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.
I think we should document the format and special values here as well as in the Javadoc as this is so important for correct usage of the endpoint. For "start":
- If it's not set then the datafeed will start from the earliest data in the input indices
- Otherwise it can be an ISO8601 time format or seconds or milliseconds since the epoch
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.
LGTM
* HLRC: ML start data feed API
Adds ML Start data feed API call to the HLRC
Relates to #29827