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

api/v1/series returns wrong series with certain queries #1501

Closed
arnaud-mey opened this issue Mar 27, 2019 · 10 comments
Closed

api/v1/series returns wrong series with certain queries #1501

arnaud-mey opened this issue Mar 27, 2019 · 10 comments
Assignees

Comments

@arnaud-mey
Copy link

After setting up the cluster and ingesting data from prometheus we are facing a problem with the series API.
curl 'http://localhost:7201/api/v1/series?match[]=up\{\}'
is a never ending stream of json (we stopped at 8GB)
curl 'http://localhost:7201/api/v1/series?match[]=up\{job="kube-state-metrics"\}'
just returns a single data object (as expected). Grafana tries to utilize this API to get a list of labels (label_values()).
We are using m3dbnode v0.7.3 with m3operator v0.1.4.
Is this a bug or are we doing anything wrong? Our configuration is pretty much that fo the documentation. If you need any more infos from us, please let us know. Thanks in advance.

@richardartoul
Copy link
Contributor

@arnikola @benraskin92 Can one of you chime in here? Is this related to the new API we're building or is this a separate issue

@evanhuang996
Copy link

I think it's related to #1453

@evanhuang996
Copy link

evanhuang996 commented Mar 28, 2019

@arnaud-mey If you want a quick fix, just change the query path to grafana -> prometheus->m3query or m3coordinator->m3db

@arnaud-mey
Copy link
Author

Thanks for your reply. We put a Prometheus in front of the m3coordinator using the remote read api. That seems to work quite well.

@arnikola
Copy link
Collaborator

Yeah, it's the same issue as #1453; although the root cause of the issue you're seeing is a bit different, but it should be fixed in #1481

@robskillington
Copy link
Collaborator

Now that 0.8.0 is released, can we verify this behavior is no longer an issue and close this?

@evanhuang996
Copy link

It's working well now.

@arnikola
Copy link
Collaborator

Great to hear, thanks 👍

@arnikola
Copy link
Collaborator

arnikola commented Apr 3, 2019

@arnaud-mey we would recommend not putting a prom in front of coordinator; you're likely to get better performance connecting graphana directly to query now that 0.8.0 is landed

@arnaud-mey
Copy link
Author

yeah we tested 0.8.0 by now and we get the expected behavior now :)

thanks a lot!

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

6 participants