OpenSearch/client
Benjamin Trent c8374dc9f3
[ML] add max_model_memory parameter to forecast request (#57254) (#57355)
This adds a max_model_memory setting to forecast requests. 
This setting can take a string value that is formatted according to byte sizes (i.e. "50mb", "150mb").

The default value is `20mb`.

There is a HARD limit at `500mb` which will throw an error if used.

If the limit is larger than 40% the anomaly job's configured model limit, the forecast limit is reduced to be strictly lower than that value. This reduction is logged and audited.

related native change: https://github.com/elastic/ml-cpp/pull/1238

closes: https://github.com/elastic/elasticsearch/issues/56420
2020-05-29 11:16:08 -04:00
..
benchmark Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
client-benchmark-noop-api-plugin Remove Xlint exclusions from gradle files 2020-02-20 14:12:05 +00:00
rest Enable decompression of response within LowLevelRestClient (#55413) (#56820) 2020-05-15 16:50:45 +01:00
rest-high-level [ML] add max_model_memory parameter to forecast request (#57254) (#57355) 2020-05-29 11:16:08 -04:00
sniffer Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00
test Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
transport [7.x] Re-add origin url information to publish POM files (#55173) 2020-04-14 13:24:15 -07:00