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

SHOW TAG VALUES Query doesn't work in Chronograf but it does in influxdb-cli/grafana #5237

Closed
UnAfraid opened this issue Jul 23, 2019 · 4 comments
Labels

Comments

@UnAfraid
Copy link

As title says i have problem executing a query in Chronograf that works just fine in influxdb-cli and Grafana
I am trying to create a variable that contains the current host's core count so i can calculate the CPU utilization on each process
image

While query works in Explorer

Its a continue from this issue influxdata/telegraf#2020 (comment)
I tried the following queries with and without the "WHERE" clause but results were the same

SHOW TAG VALUES CARDINALITY FROM "cpu" WITH KEY="cpu" WHERE "cpu" != 'cpu-total' AND "host"=:host: -- returns no results
SHOW TAG VALUES CARDINALITY FROM "telegraf"."autogen"."cpu" WITH KEY="cpu" WHERE "cpu" != 'cpu-total' AND "host"=:host: -- returns empty string
SHOW TAG VALUES CARDINALITY ON "telegraf" FROM "cpu" WITH KEY="cpu" WHERE "cpu" != 'cpu-total' AND "host"=:host: -- returns empty string
@stale
Copy link

stale bot commented Oct 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 21, 2019
@UnAfraid
Copy link
Author

Bump

@stale stale bot removed the stale label Oct 21, 2019
@stale
Copy link

stale bot commented Jan 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 19, 2020
@stale
Copy link

stale bot commented Jan 26, 2020

This issue has been automatically closed because it has not had recent activity. Feel free to reopen if this issue is still important to you. Thank you for your contributions.

@stale stale bot closed this as completed Jan 26, 2020
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

1 participant