Hello,
I am using the following query in order to get a range vector:
api_timing{api_name="<NAME>"}[1d]
Next, I want to get the average of the range vector. To do that, I am using avg_over_time - BUT, when there is a single NaN value inside the range vector, the operation returns NaN. I tried to run:
avg_over_time(api_timing{api_name="<NAME>"}[1d] >=0)
and got the following error:
Binary expression must contain only scalar and instant vector typesThank you!