Przeglądaj źródła

fix jshint and updated changelog with PR #500

Torkel Ödegaard 11 lat temu
rodzic
commit
2fbb87e17a

+ 7 - 1
CHANGELOG.md

@@ -1,4 +1,10 @@
-# vNext
+vNext
+
+**Fixes**
+
+- Fixes regex InfluxDB queries intoduced in 1.6.0 (PR #500)
+
+# 1.6.0 (2014-06-16)
 
 
 #### New features or improvements
 #### New features or improvements
 - New Y-axis formater for metric values that represent seconds (Issue #427) - thx @jippi
 - New Y-axis formater for metric values that represent seconds (Issue #427) - thx @jippi

+ 2 - 2
latest.json

@@ -1,4 +1,4 @@
 {
 {
-	"version": "1.5.4",
-	"url": "http://grafanarel.s3.amazonaws.com/grafana-1.5.4.tar.gz"
+	"version": "1.6.0",
+	"url": "http://grafanarel.s3.amazonaws.com/grafana-1.6.0.tar.gz"
 }
 }

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

@@ -87,7 +87,7 @@ function (angular, _, kbn) {
           };
           };
 
 
           if(!templateData.series.match('^/.*/')) {
           if(!templateData.series.match('^/.*/')) {
-                  templateData.series = '"' + templateData.series + '"';
+            templateData.series = '"' + templateData.series + '"';
           }
           }
 
 
           query = _.template(template, templateData, this.templateSettings);
           query = _.template(template, templateData, this.templateSettings);

+ 3 - 4
src/config.sample.js

@@ -32,6 +32,9 @@ function (Settings) {
     // default start dashboard
     // default start dashboard
     default_route: '/dashboard/file/default.json',
     default_route: '/dashboard/file/default.json',
 
 
+    // Elasticsearch index for storing dashboards
+    grafana_index: "grafana-dash",
+
     // timezoneOFfset:
     // timezoneOFfset:
     // If you experiance problems with zoom, it is probably caused by timezone diff between
     // If you experiance problems with zoom, it is probably caused by timezone diff between
     // your browser and the graphite-web application. timezoneOffset setting can be used to have Grafana
     // your browser and the graphite-web application. timezoneOffset setting can be used to have Grafana
@@ -44,9 +47,6 @@ function (Settings) {
     //
     //
     timezoneOffset: null,
     timezoneOffset: null,
 
 
-    // Elasticsearch index for storing dashboards
-    grafana_index: "grafana-dash",
-
     // set to false to disable unsaved changes warning
     // set to false to disable unsaved changes warning
     unsaved_changes_warning: true,
     unsaved_changes_warning: true,
 
 
@@ -54,7 +54,6 @@ function (Settings) {
     // Example: "1m", "1h"
     // Example: "1m", "1h"
     playlist_timespan: "1m",
     playlist_timespan: "1m",
 
 
-
     // Add your own custom pannels
     // Add your own custom pannels
     plugins: {
     plugins: {
       panels: []
       panels: []