I\'m trying to create an alert for errors. There is a metric which counts errors occurred in an application. But when I try to catch its increase it always returns 0.