-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
thanos store broken regex #864
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanos: improbable/thanos:v0.3.1
Prometheus: 2.5.0
What happened
Query the line below and thanos store will return all return all http_status, not just 522. If i disabled thanos store, it returns nothing (as there are no 522 at this time)
cloudflare_pop_http_responses_sent{http_status=~"522",colo_id=~"LIS"}
What you expected to happen
thanos store should respect the field regex
How to reproduce it (as minimally and precisely as possible):
I tried several thing to reproduce and looks like this works with any field data (eg:
hostname: host123
andhostname: host456
) and that is in the thanos store. The query regex must not have real regex data that would match something directly (eg:hostname=~".ost123"
), it must not match anything, so it tried substring (eg:hostname=~"ost123"
)thanos store will return data for all both hostname with that last query, but only return the host123 in the previous
Full logs to relevant components
The text was updated successfully, but these errors were encountered: