qie.addTimeToChannelStats¶
Signature: qie.addTimeToChannelStats(metricId, description, time)
Returns: void
Adds a custom metric to the channel stats to be reported when viewing the overall stats of the channel.
Note
For this to work, you need to 'Enable channel stats' from the 'Advanced Options' tab of the source node. You can then see channel stats by selecting 'View->Stats' from the 'View' menu in the top right corner of a channel.
Parameters¶
| Type | Name | Description | Default |
|---|---|---|---|
| Integer | metricId | the ID for this metric, it will be the given id + 9000 (example, 1 will be reported as 9001) to prevent clashing with channel node ids | |
| String | description | the metric description | |
| Long | time | the time in ms for this metric |