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

Series queries against InfluxDB v0.8+ don't work #610

Closed
nickchappell opened this issue Jul 20, 2014 · 6 comments
Closed

Series queries against InfluxDB v0.8+ don't work #610

nickchappell opened this issue Jul 20, 2014 · 6 comments
Labels
Milestone

Comments

@nickchappell
Copy link

Adding new queries to a graph with an InfluxDB data source no longer functions in InfluxDB versions 0.8 and above.

If you know the complete series name, you can still add a query, but typing out the first few letters of a series name no longer autocompletes with a list of possibilities.

This may be caused by series data in InfluxDB 0.8 and above being stored in Raft.

@torkelo
Copy link
Member

torkelo commented Jul 20, 2014

It might be that v.0.8 has deprecated the "list series" query. Grafana master and develop branch use the new approach for querying for series names

@jgerschk
Copy link

I'm not sure this is v0.8 only. I'm using the "master" (pulled today) branch of Grafana, and using version v0.7.2 and I am seeing the same as what @nickchappell is. Start typing and nothing comes up.

Now, I just went back to the release version (1.6.1) and things work fine. Start typing and the series come up.

@torkelo torkelo added the bug label Jul 22, 2014
@huhongbo
Copy link

list series is faster then "select * from /.*/ limit 1"
I think the recent PR using the select is not a good option

@torkelo
Copy link
Member

torkelo commented Jul 22, 2014

@huhongbo but list series doesn't return continues queries. I can see why "select * from /.*/ limit 1" is not a good option however as it actually returns a data point from every series. Will have to revert that change and make do a hybrid approach. Would be good if list series would take a regex or fuzzy match query

@hydandata
Copy link

They just changed the format of returned data for 'list series'. I had to do the following in my python script to make previous code work (instead of return client.query('list series'): return [{u'name':x[1]} for x in client.query('list series')[0]['points']] I am sure something similar can work for Grafana too.

@huhongbo
Copy link

list series seems return continues queries. at influxdb 0.80
influxdata/influxdb#773

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

No branches or pull requests

5 participants