chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Dataexplorer sends bad influxql

Open goller opened this issue 9 years ago • 5 comments

DEBU[12740] query                                         command=SHOW TAG VALUES FROM "consul_health_checks" WITH KEY IN () component=proxy db=nonstandardtelegraf host=chronograf.influxcloud.net:8086 rp=someotherrp

ERRO[12740] Error message received status code 400 from server: err: error parsing query: found ), expected identifier at line 1, char 58  component=server http_status =400

goller avatar Mar 13 '17 17:03 goller

somehow this happened to me again... here is the output on the JS console

image

goller avatar Mar 14 '17 17:03 goller

Cannot reproduce

nhaugo avatar Apr 04 '17 17:04 nhaugo

Ok I now know how to reproduce this:

  1. Create a new non-default retention policy for a database like telegraf
  2. Select the db and new rp from databases.
  3. Select measurement

goller avatar Apr 04 '17 22:04 goller

Here is the line of code: https://github.com/influxdata/chronograf/blob/master/ui/src/data_explorer/components/TagList.js#L47

goller avatar Apr 04 '17 22:04 goller

This was fixed quite a long time ago in my pr #1182

goller avatar Dec 02 '17 22:12 goller