How to setup watcher condition ctx.payload.hits.total in percentage?

Hi Folks,

Please help me in setting up a watcher with the below condition:

percentage of ctx.payload.hits.total of variable1 in percentage of variable2 > 10%

currently the condition is ctx.payload.hits.total > params.threshold which checks the count .. but i need to calculate the percentage .

Please guide me on this.

Thanks
Dharini

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.