diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md index b1c284d40..455b6af7e 100644 --- a/dist/CHANGELOG.md +++ b/dist/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.2.6 (2017-12-13) + +# Fixes +* allow rounding with `round` option both time filters: $from and $to + + # 1.2.5 (2017-12-05) # Fixes diff --git a/dist/partials/query.editor.html b/dist/partials/query.editor.html index d0787ee30..3f04841b8 100644 --- a/dist/partials/query.editor.html +++ b/dist/partials/query.editor.html @@ -117,7 +117,9 @@ ng-model-onblur ng-change="ctrl.refresh()"/> - Set rounding for `left` interval border.
For example, if set `1m` - left order will be rounded to beginning of minute. + Set rounding for `$from` and `$to` timestamps.
+ For example, if set `1m` - both `$from` and `$to` will be rounded to beginning of minute.
+ It will make all requests similar during one minute which is good for caching.
diff --git a/dist/plugin.json b/dist/plugin.json index dcfa25f8c..457f48693 100644 --- a/dist/plugin.json +++ b/dist/plugin.json @@ -24,6 +24,6 @@ "url": "https://github.com/Vertamedia/clickhouse-grafana" } ], - "version": "1.2.5" + "version": "1.2.6" } } diff --git a/src/partials/query.editor.html b/src/partials/query.editor.html index d0787ee30..3f04841b8 100644 --- a/src/partials/query.editor.html +++ b/src/partials/query.editor.html @@ -117,7 +117,9 @@ ng-model-onblur ng-change="ctrl.refresh()"/> - Set rounding for `left` interval border.
For example, if set `1m` - left order will be rounded to beginning of minute. + Set rounding for `$from` and `$to` timestamps.
+ For example, if set `1m` - both `$from` and `$to` will be rounded to beginning of minute.
+ It will make all requests similar during one minute which is good for caching.