Skip to content

Commit

Permalink
Merge pull request #250 from Altinity/make_release_2.0.3
Browse files Browse the repository at this point in the history
# 2.0.3 (2020-07-24)

## Enhancements:
* add setup notes for Grafana 7.x to README
* add SQL preprocessing logic on browser side with <% js code subset %>, #186, thanks @fgbogdan
* improve alerts query processing for use case when `query(query_name, from, to)` time range is less than visible dashboard time range, see #237
* improve alerts json parsing in golang part for case when we have string fields in response which interprets as series name, see #230
* properly parsing POST queries in golang part of plugin, #228, thanks @it1804


## Fixes:
* add Vagrantfile for statefull environment and allow to upgrade scenario like  grafana 7.1.0 + grafana-cli upgrade-all
  * fix #244
  * fix #243
* add multiple dashboard examples for github issues:
  * fix #240 
  * fix #135 
  * fix #245 
  * fix #238   
  * fix #232
  * fix #127
  * fix #141
  • Loading branch information
Slach authored Jul 24, 2020
2 parents 0c6efab + 50c8c9b commit a02221e
Show file tree
Hide file tree
Showing 12 changed files with 725 additions and 296 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = 2.0.2
current_version = 2.0.3

[bumpversion:file:package.json]

Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# 2.0.3 (2020-07-24)

## Enhancements:
* add setup notes for Grafana 7.x to README
* add SQL preprocessing logic on browser side with <% js code subset %>, https://github.com/Vertamedia/clickhouse-grafana/pull/186, thanks @fgbogdan
* improve alerts query processing for use case when `query(query_name, from, to)` time range is less than visible dashboard time range, see https://github.com/Vertamedia/clickhouse-grafana/issues/237
* improve alerts json parsing in golang part for case when we have string fields in response which interprets as series name, see https://github.com/Vertamedia/clickhouse-grafana/issues/230
* properly parsing POST queries in golang part of plugin, https://github.com/Vertamedia/clickhouse-grafana/pull/228, thanks @it1804


## Fixes:
* add Vagrantfile for statefull environment and allow to upgrade scenario like grafana 7.1.0 + grafana-cli upgrade-all
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/244
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/243
* add multiple dashboard examples for github issues:
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/240
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/135
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/245
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/238
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/232
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/127
* fix https://github.com/Vertamedia/clickhouse-grafana/issues/141

# 2.0.2 (2020-07-06)

## Enhancements:
Expand Down
21 changes: 12 additions & 9 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,29 @@
ClickHouse datasource plugin provides a support for [ClickHouse](https://clickhouse.yandex) as a backend database.

### Quick start
Install from [grafana.net](https://grafana.net/plugins/vertamedia-clickhouse-datasource)

OR

Copy files to your [Grafana plugin directory](http://docs.grafana.org/plugins/installation/#grafana-plugin-directory). Restart Grafana, check data sources list at http://your.grafana.instance/datasources/new, choose ClickHouse option.

Unfortunately, grafana 7.x, currently doesn't support worked signing method for community plugins
#### Grafana 7.x setup notes
Grafana team currently doesn't provide worked signing method for community plugins
https://community.grafana.com/t/how-to-create-a-signed-backend-plugin/30068/2

so, setup configuration option
so, for properly setup you need change configuration option
```
[plugins]
allow_loading_unsigned_plugins=vertamedia-clickhouse-datasource
```

or export environment variable
or setup environment variable
```
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=vertamedia-clickhouse-datasource
```
is required


You can install plugin from [grafana.net](https://grafana.net/plugins/vertamedia-clickhouse-datasource)

OR

Copy files to your [Grafana plugin directory](http://docs.grafana.org/plugins/installation/#grafana-plugin-directory). Restart Grafana, check data sources list at http://your.grafana.instance/datasources/new, choose ClickHouse option.


### Features:

Expand Down
294 changes: 12 additions & 282 deletions dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"url": "https://github.com/Vertamedia/clickhouse-grafana"
}
],
"version": "2.0.2"
"version": "2.0.3"
}
}
Binary file modified dist/vertamedia-clickhouse-plugin_darwin_amd64
Binary file not shown.
Binary file modified dist/vertamedia-clickhouse-plugin_linux_amd64
Binary file not shown.
Binary file modified dist/vertamedia-clickhouse-plugin_windows_amd64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vertamedia-clickhouse",
"version": "2.0.2",
"version": "2.0.3",
"description": "ClickHouse datasource for Grafana",
"scripts": {
"build:prod": "webpack --config webpack.config.prod.js",
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"url": "https://github.com/Vertamedia/clickhouse-grafana"
}
],
"version": "2.0.2"
"version": "2.0.3"
}
}
673 changes: 673 additions & 0 deletions ubuntu-bionic-18.04-cloudimg-console.log

Large diffs are not rendered by default.

0 comments on commit a02221e

Please sign in to comment.