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

[0.10] admin UI doesn't display results for some SHOW queries #4688

Closed
beckettsean opened this issue Nov 5, 2015 · 9 comments
Closed

[0.10] admin UI doesn't display results for some SHOW queries #4688

beckettsean opened this issue Nov 5, 2015 · 9 comments
Labels

Comments

@beckettsean
Copy link
Contributor

For instance SHOW CONTINUOUS QUERIES returns JSON in the payload but the results area is blank.

tested with 0.9.4.2

screen shot 2015-11-05 at 13 42 35

@beckettsean beckettsean changed the title admin UI doesn't display results for some queries admin UI doesn't display results for SHOW CONTINUOUS QUERIES Nov 5, 2015
@daviskirk
Copy link

This happens in 0.9.6 and 0.10 also (a UI warning "Query returned no results!" is shown instead). Works fine using the CLI.

@zstyblik
Copy link

@beckettsean more commands than just SHOW CONTINUOUS QUERIES might not be supported by Web UI, eg. SHOW USERS.

@beckettsean beckettsean changed the title admin UI doesn't display results for SHOW CONTINUOUS QUERIES admin UI doesn't display results for some SHOW queries Feb 10, 2016
@beckettsean beckettsean changed the title admin UI doesn't display results for some SHOW queries [0.10] admin UI doesn't display results for some SHOW queries Feb 10, 2016
@beckettsean
Copy link
Contributor Author

@jwilder anyone giving love to the Admin UI soon?

@jwilder
Copy link
Contributor

jwilder commented Feb 10, 2016

@beckettsean Not currently. PRs to improve/fix it are welcome though.

@Vidhuran
Copy link
Contributor

Can i work on this item if nobody else is working on it currently ?

@Vidhuran
Copy link
Contributor

SHOW CONTINUOUS QUERIES when executed from Admin UI actually returns the result for _internal table as well.

capture

So it fails in the line https://github.com/influxdata/influxdb/blob/master/shared/admin/js/admin.js#L184 and displays that the query returned no results.

LIkewise for SHOW USERS, if you have added some users then it would show in the results, if not the condition check for values.length pasted above would fail and the error is displayed.

@Vidhuran
Copy link
Contributor

show_users

@zstyblik
Copy link

@Vidhuran awesome!

@Vidhuran
Copy link
Contributor

Now that this has been merged to the master will i be eligible for a t-shirt 😄

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