Skip to content

Commit

Permalink
Add configuration settings sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed Jan 11, 2021
1 parent 7ab0ebf commit d0429bd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/reference/autoscaling/deciders/fixed-decider.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The fixed decider is intended for testing only. Do not use this decider in produ
The `fixed` decider responds with a fixed required capacity. It is not enabled
by default but can be enabled for any policy by explicitly configuring it.

It has three configuration options:
==== Configuration settings

`storage`::
(Optional, <<byte-units,byte value>>)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
The {ml} decider (`ml`) calculates the memory required to run
{ml} jobs created by users.

The {ml} decider is enabled for policies governing `ml` nodes and has following
configuration options:
The {ml} decider is enabled for policies governing `ml` nodes.

* `num_anomaly_jobs_in_queue`, default 0
* `num_analytics_jobs_in_queue`, default 0
* `down_scale_delay`, default 1 hour
[[autoscaling-machine-learning-decider-settings]]
==== Configuration settings

`num_anomaly_jobs_in_queue`::
(Optional, integer)
Number of queued anomaly jobs to allow. Default 0.

`num_analytics_jobs_in_queue`::
Number of queued analytics jobs to allow. Default 0.
`down_scale_delay`::
(Optional, <<time-units,time value>>
Delay before scaling down. Default 1 hour.

[[autoscaling-machine-learning-decider-examples]]
==== {api-examples-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
The proactive storage decider (`proactive_storage`) calculates the storage required to contain
the current data set plus an estimated amount of expected additional data.

The proactive storage decider is enabled for all policies governing nodes with the `data_hot` role. A
single configuration option `forecast_window` is available, defaulting to 30
minutes.
The proactive storage decider is enabled for all policies governing nodes with the `data_hot` role.

The estimation of expected additional data is based on past indexing that
occurred within the `forecast_window`, i.e., by default the last 30 minutes.
occurred within the `forecast_window`.
Only indexing into data streams contributes to the estimate.

[[autoscaling-proactive-storage-decider-settings]]
==== Configuration settings

`forecast_window`::
(Optional, <<time-units,time value>>)
The window of time to use for forecasting. Defaults to 30 minutes.

[[autoscaling-proactive-storage-decider-examples]]
==== {api-examples-title}

Expand Down

0 comments on commit d0429bd

Please sign in to comment.