Batchlet Configuration Details
Top-level configuration schema
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
List containing the command and its arguments. |
list |
Yes |
No |
|
|
Configuration options for the Dask cluster. If |
object |
|
No |
Yes |
|
Configuration options for monitoring. If |
object |
|
No |
Yes |
|
Whether to generate performance/monitoring reports even if the |
boolean |
|
No |
No |
dask_params schema
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
The cli option of the command which takes dask scheduler ip as input. If not given, batchlet does not
spin up a dask cluster, and runs the |
string |
|
No |
Yes |
|
Enable Dask performance tracking and store the report at the specified path, if it is valid. |
string |
|
No |
Yes |
Rest of the allowed keys are same as the parameters accepted by the batchlet managed dask clusters:
monitor schema
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
Configuration for starting hardware resource monitoring using benchmon. |
dict |
{} |
No |
Yes |
|
Configuration for starting log monitoring using batchlet plugins. |
dict |
{} |
No |
Yes |
resources schema
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
Monitoring level. Supported values: 0, 1, or 2 |
integer |
|
No |
No |
|
Directory path where monitoring output is saved. This is also the path which
acts as |
string |
|
No |
No |
logs schema
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
List of filter plugins with their configuration |
list of dictionary |
|
Yes |
No |
|
List of consumer plugins with their configuration |
list of dictionary |
|
Yes |
No |
Each filter or consumer plugin may contain following keys:
Key |
Description |
Type |
Default |
Required |
Nullable |
|---|---|---|---|---|---|
|
The plugin class. An instance of this class will be created by log monitor. |
string |
Yes |
No |
|
|
Dictionary of arguments to pass to the plugin (specific to the plugin). |
dictionary |
No |
No |
|
|
Optional path to the plugin module file from which the plugin class will be imported by log monitor |
string |
No |
No |