New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected behavior for absent_over_time #2130
Comments
…_time()` in the same way as Prometheus does See #2130
…_time()` in the same way as Prometheus does See #2130
@psalaberria002 , thanks for the bug report! It should be fixed in the commit 989668b . Could you build This commit will be included in the next release of VictoriaMetrics. |
We are face this problem in process of integrating VM with kubecost. |
@Wilderone , thanks for the update! The bugfix has been integrated into VictoriaMetrics v1.73.0. Closing the issue as fixed. |
Thanks for the fix! Will try it in a couple of days. |
Describe the bug
The absent_over_time in PromQL is expected to return 0 or 1 rows at most.
Definition taken from https://prometheus.io/docs/prometheus/latest/querying/functions/#absent_over_time:
VictoriaMetrics returns multiple rows in some cases, where it should not have reported any.
Expected behavior
See the following chart for example. Those are metrics from pods that are probably gone during the last few minutes, but there are still thousands of
up
metrics being reported. The expected result is an empty response.Version
v1.71.0 cluster mode
The text was updated successfully, but these errors were encountered: