Browse Source

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

Stefan Majer 11 years ago
parent
commit
c9df61c43c
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

@@ -93,7 +93,7 @@ function (angular, _, kbn) {
     };
 
     InfluxDatasource.prototype.listColumns = function(seriesName) {
-      return this.doInfluxRequest('select * from ' + seriesName + ' limit 1').then(function(data) {
+      return this.doInfluxRequest('select * from "' + seriesName + '" limit 1').then(function(data) {
         if (!data) {
           return [];
         }