To use Datarate, the datarate feature must be installed.

Data rate calcs the rate by which elements are processed by Odysseus (elements per seconds). You can use as many measurement positions as you want.

You can access the meta data from every stream element (e.g. in MEP or in Select operator) with

The usage of Datarate can be defined in Odysseus Script with the #METADATA command or in the Access operator with the METAATTRIBUTE parameter.

The Datarate operator calculates the data rate in tuples per second. Use the operator where you want to measure the data rate.


/// Measure the data rate
drate = DATARATE({UPDATERATE = 1000, KEY='MEASUREMENT_1'}, previousOperator)