...
Key | Value | Notes |
---|---|---|
flags | <array of strings> | Possible flags:
|
thresholds | <array of thresholds> | Threshold objects are defined in the table below. |
Thresholds
The following defines a threshold object:
Key | Value | Notes |
---|---|---|
oxs_type | <string> | Possible OXS types:
|
value | <number> | Can be hexadecimal (with leading 0x) or decimal. |
Example Stat Trigger Instruction
An example instruction_stat_type value might look like this:
Code Block |
---|
{ "flags" : [ "periodic" ], "thresholds" : [ { "oxs_type" : "byte_count", "value" : "1000" }, { "oxs_type" : "duration", "value" : "60" } ] } |
...