Monitor Keeps zeroing out

Hello, I have been using a Distill successfully for about the last 3 months but in the last few days, I keep getting 0 values in my monitor and then it will go back to the previous values so my alerts are nearly useless as I don’t know when the quantity has actually changed. I’ve tried moving the interval out but that doesn’t seem to help solve the issue and it was working just fine previously at 5 seconds. Any thoughts???

@settleup i am assuming that the ‘0’ is displayed on the page for a short time before it is updated to the final value. this can cause the false alert. what value of “wait for duration” have you used?

if you know for sure that the zero value is an incorrect value and must not be captured, it is possible to do so using a macro.

following article shows a quick overview of how macro works:

it lets one automate actions on a page. in addition to that, it can be used to validate page’s content too. if the page’s content is not valid, one can wait for a longer duration or even error out the check. for example, panic function can error out the check if a criteria is met.

here is a sample usage:

panic(element_has_text(<element_selector>, "0"), )

screenshot of such a step:

you will need to use the selector specific to the page you are monitoring. try it out and let me know if you have need any help.