This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Empty resultset on instant query regex #1766
Labels
Bug
Something isn't working
Comments
I've had difficulty reproducing this issue (on Promscale master).
When removing the
But subsequent requests all returned the result:
At the very least, it doesn't look like the issue is because regexes are broken in principle. |
I didn't get deep into this but if it's only reproducible when time is not present I have one idea. Since timestamp is in that case generated on Promscale (time.now()) and sent to query engine. So possibly we might not have a record in DB for given timestamp? I'll look more into this. |
Hmm in my new environment I am somehow unable to reproduce this problem.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Promscale returns empty results although data is present in the DB.
To Reproduce
Send query:
/api/v1/query?query=count by (job, instance, version) (prometheus_build_info{job=~".+", instance=~".+"})
Response:
{"status":"success","data":{"resultType":"vector","result":[]}}
Version
The text was updated successfully, but these errors were encountered: