Skip to content
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

Weird behaviour of prometheus expression evaluation. #1294

Closed
nchern opened this Issue Jan 8, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@nchern
Copy link

nchern commented Jan 8, 2016

Hi @juliusv

I've spotted a weird behaviour of prometheus expression evaluation.
Using prometheus web ui
http://prometheus.<domain>/graph#<...>
I queried a metric xxx_requests_total{code=~"^500"}. Metric with this exact name did not exist in my prometheus. But it returned all of OTHER existed metrics like http_requests_total{code="500"}, mysvc_requests_tota{code="500"} with the code="500" label. Behaviour would be the same even if I put smth like abc{code=~"^500"}
Can you please clarify if this is expected behaviour or a bug?

Thanks

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Jan 8, 2016

What version/revision are you running. I cannot reproduce this.

@nchern

This comment has been minimized.

Copy link
Author

nchern commented Jan 8, 2016

0.15.0rc1

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Jan 8, 2016

This behavior was fixed in 0.15.1.

@beorn7 beorn7 closed this Jan 8, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.