Просмотр исходного кода

fix jshint and updated changelog with PR #500

Torkel Ödegaard 11 лет назад
Родитель
Сommit
2fbb87e17a
4 измененных файлов с 13 добавлено и 8 удалено
  1. 7 1
      CHANGELOG.md
  2. 2 2
      latest.json
  3. 1 1
      src/app/services/influxdb/influxdbDatasource.js
  4. 3 4
      src/config.sample.js

+ 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 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('^/.*/')) {
-                  templateData.series = '"' + templateData.series + '"';
+            templateData.series = '"' + templateData.series + '"';
           }
 
           query = _.template(template, templateData, this.templateSettings);

+ 3 - 4
src/config.sample.js

@@ -32,6 +32,9 @@ function (Settings) {
     // default start dashboard
     default_route: '/dashboard/file/default.json',
 
+    // Elasticsearch index for storing dashboards
+    grafana_index: "grafana-dash",
+
     // timezoneOFfset:
     // 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
@@ -44,9 +47,6 @@ function (Settings) {
     //
     timezoneOffset: null,
 
-    // Elasticsearch index for storing dashboards
-    grafana_index: "grafana-dash",
-
     // set to false to disable unsaved changes warning
     unsaved_changes_warning: true,
 
@@ -54,7 +54,6 @@ function (Settings) {
     // Example: "1m", "1h"
     playlist_timespan: "1m",
 
-
     // Add your own custom pannels
     plugins: {
       panels: []