Here's a rule I've setup. It has one condition with 2 thresholds (warning and alert)
When I trigger the warning criteria for here's the output:
context.threshold:
{"condition0":[150]}
context.value:
{"condition0":8}
context.metric:
{}
The issue I'm having is that condition0 always reports the alert threshold value not the warning threshold value. It should be 1 and not 150.
Even context.reason returns the wrong string:
Document count is greater than a threshold of 150 (current value is 8) for /api/marketplace/personalization_quiz/quiz/v1
This seems like a bug.