@@ -158,7 +158,9 @@ file. The following is instead a list of configuration parameters that are avail
|:----- |:----------- |
| default | Name of the template that must be used to configure this analyzer.
| interval | Specifies how often the analyzer will be invoked to perform computations, and thus the sampling interval of its output sensors. Only used for analyzers in _streaming_ mode.
| relaxed | If set to _true_, the units of this analyzer will be instantiated even if some of the respective input sensors do not exist.
| delay | Delay in milliseconds to be applied to the start of the analyzer. This parameter only applies to streaming analyzers. It can be used to allow for input sensor caches to be populated before the analyzer is started.
| unitCacheLimit | Defines the maximum size of the unit cache that is used in the on-demand and job modes. Default is 1000.
| minValues | Minimum number of readings that need to be stored in output sensors before these are pushed as MQTT messages. Only used for analyzers in _streaming_ mode.
| mqttPart | Part of the MQTT topic associated to this analyzer. Only used when the Unit system is not employed (see this [section](#mqttTopics)).
| sync | If set to _true_, computation will be performed at time intervals synchronized with sensor readings.
...
...
@@ -182,7 +184,7 @@ streaming true
average avg1 {
default def1
mqttPart FF0
mqttPart /avg1
input {
sensor col_user
...
...
@@ -191,15 +193,15 @@ mqttPart FF0
output {
sensor sum {
mqttsuffix 76
mqttsuffix /sum
}
sensor max {
mqttsuffix 77
mqttsuffix /max
}
sensor avg {
mqttsuffix 78
mqttsuffix /avg
}
}
}
...
...
@@ -224,7 +226,7 @@ streaming true
average avg1 {
default def1
mqttPart FF0
mqttPart /avg1
input {
sensor "<bottomup>col_user"
...
...
@@ -233,15 +235,15 @@ mqttPart FF0
output {
sensor "<bottomup, filter cpu01>sum" {
mqttsuffix 76
mqttsuffix /sum
}
sensor "<bottomup, filter cpu01>max" {
mqttsuffix 77
mqttsuffix /max
}
sensor "<bottomup, filter cpu01>avg" {
mqttsuffix 78
mqttsuffix /avg
}
}
}
...
...
@@ -315,6 +317,14 @@ the MQTT prefix, analyzer part and sensor suffix that are defined;
by concatenating the MQTT prefix associated to the unit (which is defined as _the portion of the MQTT topic shared by all sensors
belonging to such unit_) and the sensor suffix. The middle part of the topic is padded accordingly to ensure a fixed length.