Resource group properties
| Property name | Type | Required/Optional | Description |
|---|---|---|---|
rootGroups |
Array | Required | Defines the specifications for resource groups. |
selectors |
Array | Required | Specifies the selector configurations for the resource groups. |
cpuQuotaPeriod |
String | Optional |
Specifies the CPU quota period. Pattern: This property must match with the pattern
|
| Property name | Type | Required/Optional | Description |
|---|---|---|---|
name |
String | Required | Name of the resource group. Following are the naming conditions:
|
softMemoryLimit |
String | Required | Specifies the soft memory limit.
|
maxQueued |
Integer | Optional | Specifies the maximum number of queued requests.
Note: The value must not start with 0. For example,
01, 05. Specify the values as
1, 5. 0 alone is a valid
value.
|
softConcurrencyLimit |
Integer or null | Optional | Specifies the soft concurrency limit.
Note: The value must not start with 0. For example,
01, 05. Specify the values as
1, 5. 0 alone is a valid
value.
|
maxRunning |
Integer or null | Optional | Specifies the maximum running count.
Note: The value must not start with 0. For example,
01, 05. Specify the values as
1, 5. 0 alone is a valid
value.
|
hardConcurrencyLimit |
Integer | Required Note: If
maxRunning value is available,
hardConcurrencyLimit takes up that value. If maxRunning is not
set, you must set a value for hardConcurrencyLimit. |
Specifies the hard concurrency limit.
Note: The value must be greater than or equal to
softConcurrencyLimit. It must not
start with 0. For example, 01,
05. Specify the values as 1, 5.
0 alone is a valid value. |
schedulingPolicy |
String Following are the available values:
These values are not case-sensitive.
|
Optional | Specifies the scheduling policy. |
schedulingWeight |
Integer or null | Optional | Specifies the scheduling weight. Allowed values (minimum to maximum): 1 to 2147483647. Note: The value must not start with 0. For example,
01, 05. Specify the values as
1, 5. 0 alone is a valid value.
If a subgroup has
schedulingWeight, all of the corresponding siblings in that
subgroup must have schedulingWeight. |
subGroups |
Array or null | Optional | Specifies the subgroups within the resource group. Subgroups have the same rules for different properties as in the resource group. |
jmxExport |
Boolean or null | Optional | Indicates whether JMX export is enabled. |
softCpuLimit |
String | Optional | Specifies the soft CPU limit. It must match the pattern
If |
hardCpuLimit |
String | Optional | Specifies the hard CPU limit. It must match the pattern
|
perQueryLimits |
Object | Optional |
Specifies per-query limits. Example:
The object can have one, two, or three of the following limits:Note: Negative values are not allowed
for any of the following limits.
|
workersPerQueryLimit |
Integer or null | Optional | Specifies the workers per query limit. Allowed values (minimum to maximum): -2147483648 to 2147483647. Note: The value must be greater than or equal to
softConcurrencyLimit. It must not start with 0. For example,
01, 05. Specify the values as
1, 5. 0 alone is a valid
value. |
| Property name | Type | Required/Optional | Description |
|---|---|---|---|
user |
String or null Strings can have any valid regular expression
( |
Optional | Specifies the user regex pattern. |
source |
String or null Strings can have any valid regular expression
( |
Optional | Specifies the source regex pattern. |
queryType |
String or null Possible values:
|
Optional | Specifies the query type. |
clientTags |
List of strings or null Example: .*). |
Optional | Specifies the client tags. |
selectorResourceEstimate |
Object or null | Optional | Specifies the selector resource
estimate. Example:
The object can have one, two, or three of the following limits. You can also use the
min, max, or both of the parameters for all of the three limits.
For example, "selectorResourceEstimate": {"executionTime": {"min": "5m"} }.Note: Negative values are not allowed for any of the following limits.
|
clientInfo |
String or null Strings can have any valid regular expression
( |
Optional | Specifies the client info regex pattern. |
schema |
String or null Strings can have any valid regular expression
( |
Optional | Specifies the schema. |
principal |
String or null Strings can have any valid regular expression
( |
Optional | Specifies the principal regex pattern. |
group |
String | Required | The group name must be from the available names in the resource group. For redirecting to a
subgroup, use "group": "groupname.subgroupname".You can also use dynamic values
like |
source and user regex, you can use the provided name
in the format (?<sampleName>.*) as a
dynamic group name. For example:{
"source": "(?<sampleName>.*)",
"clientTags": [
"hipri"
],
"group": "bi-${sampleName}"
}and there is a group as ,{
"name": "bi-${sampleName}",
"softMemoryLimit": "80%",
"hardConcurrencyLimit": 100,
"maxQueued": 1000,
"schedulingPolicy": "weighted",
"jmxExport": true
} In this example, sampleName is a dynamic
value. Special characters are not allowed in the name. You can add other values like
${SOURCE}, ${USER}, or ${SCHEMA}. The
group name is case-sensitive. You can have values before and after the dynamic
variable. For example, abc-${SOURCE} or ${toolname}-xyz.| Property name | Type | Required/Optional | Description |
|---|---|---|---|
cpuQuotaPeriod |
String | Optional |
Specifies the CPU quota period. Pattern: This property must match with the pattern
|