Dynamic Counter
Here is an example of a dynamic counter to have the number of orders in each queue.
# The name of the queue will be used as the key # [ \example\O_in_queue : kpsastats::CounterConf ] name = O_in_queue description = Orders in queue #KEY#. startOnCreate = yes periodManager = MyPeriodManager dataSaver = MyDataSaver memorizedPeriod = 1 dynamic = yes [ \example\Qnb : kpsastats::BRawSnapshotConf ] name = Qnb counterName = O_in_queue description = Number of orders in the queue. incrDictionary = MyQueueDic incrEventId = QueueEntered decrDictionary = MyQueueDic decrEventId = QueueLeft [ \example\DispQEntered : kpsastats::OriginatorDispatcherConf ] counterName = O_in_queue dictionary = MyQueueDic eventId = QueueEntered description = Dispatcher on the queue name which is in the originator. [ \example\DispQLeft : kpsastats::OriginatorDispatcherConf ] counterName = O_in_queue dictionary = MyQueueDic eventId = QueueLeft description = Dispatcher on the queue name which is in the originator.
Copyright © Cloud Software Group, Inc. All rights reserved.