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 types
Any suggestions about how to filter NaN values in this case?
Thank you!
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/7c562345-d628-45f4-8617-8c1de8490b30n%40googlegroups.com.