When I try to define the SLO it tells me "At least one operand is empty" but in the data explorer it works, I assume that the problem may be in the entity selector, I tried using the following alternatives:
This only happens when I use the builtin metric in the denominator, but if I use another one calculated to count the endpoint requests it works.
Attached image as a proof that in the data explorer works
Thanks to those who can provide a solution idea.
Solved! Go to Solution.
I understood that you are using the Entity Selector field on the SLO config page to filter the metric expression.
And on the Data Explorer, you are filtering through code : " :filter(eq(...)) ".
So, I assume that on SLO you are not applying the filters directly on the code, only on the Entity Selector field... is that it?
If that's the case, could you try using precisely the same metric expression code used on the Data Explorer to configure the SLO (i.e., filtering through code) ?
That way, you could leave the Entity Selector field blank (on the SLO configuration page), as the filters are already written on the code!
Hope it helps!