complex rule expression in OFI for queue monitoring

Hello all,

I’m trying to configure rule expression to monitor one of our broker queues.

The condition is

Last Retrieved datetime - Current datetime >=5min && Length > 1

there are no facts for current time or to achieve datetime difference(?). There is a KPI named “BrokerStats.now” but the KPI cannot be monitored.

did anyone encounter this scenario? :smiley:

Thanks.