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

HLRC: ML start data feed API #33898

Merged
merged 3 commits into from
Sep 21, 2018

Conversation

benwtrent
Copy link
Member

Adds ML Start data feed API call to the HLRC

Relates to #29827

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link
Contributor

@droberts195 droberts195 left a 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
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

@benwtrent benwtrent merged commit bf0a0f7 into elastic:master Sep 21, 2018
@benwtrent benwtrent deleted the feature/hlrc-ml-start-data-feed branch September 21, 2018 12:56
benwtrent added a commit that referenced this pull request Sep 21, 2018
* HLRC: ML start data feed API
@benwtrent benwtrent removed the :ml Machine learning label Oct 25, 2018
kcm pushed a commit that referenced this pull request Oct 30, 2018
* HLRC: ML start data feed API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants