Skip to content

"query must contain metric name" when using __name__=~"foo|bar" #1079

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

Closed
poblahblahblah opened this issue Oct 17, 2018 · 1 comment
Closed

Comments

@poblahblahblah
Copy link

Hello,

When querying Cortex and using the syntax name=~"foo|bar" we are getting an error response back from Cortex of "query must contain metric name". This is a valid Prometheus query, so Cortex should be able to handle this type of query. See attached screenshot.

screen_shot_2018-10-16_at_8 16 52_am

@csmarchbanks
Copy link
Contributor

Hi @poblahblahblah, this is a known limitation of Cortex right now, tracked by #416.

I am going to close this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants