Browse Source

Quote timeseries names to be able to have special character such as @ in a seriename.

Stefan Majer 11 years ago
parent
commit
c1266abb98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/app/services/influxdb/influxdbDatasource.js

+ 1 - 1
src/app/services/influxdb/influxdbDatasource.js

@@ -62,7 +62,7 @@ function (angular, _, kbn) {
           query = queryElements.join(" ");
         }
         else {
-          var template = "select [[func]](\"[[column]]\") as \"[[column]]_[[func]]\" from [[series]] " +
+          var template = "select [[func]](\"[[column]]\") as \"[[column]]_[[func]]\" from \"[[series]]\" " +
                          "where  [[timeFilter]] [[condition_add]] [[condition_key]] [[condition_op]] [[condition_value]] " +
                          "group by time([[interval]]) order asc";