- Add support for Grafana 8.x unified alerts, fix Altinity#380
- Add TLS support for backend alerts part of plugin Altinity#356 (comment)
- Add $naturalTimeSeries macro, look details in https://github.com/Vertamedia/clickhouse-grafana/pull/89/files#diff-cd9133eda7b58ef9c9264190db4534a1be53216edbda9ac57256fbd800368c03R383-R412
- Update golang-plugin-sdk-go to latest version
- Properly format Value in Table format, look details Altinity#379
- Remove toDateTime64 casting for column when time column is already DateTime64 to improve performance. Change test to ensure the casting is removed from the query, fix Altinity#360
- implements
$timeFilter64ByColumn(column_name)
macro, fix Altinity#343
- implements properly GET and POST support for alert queries, fix Altinity#353
- SQL syntax highlight now works always, fix Altinity#174, fix Altinity#381
- SQL syntax highlight, fix Altinity#174, fix Altinity#381
- fix Altinity#376,
- fix negative behavior for $perSecondColumns Altinity#337
- fix Altinity#374, ignore
--
inside quotas as comment
- On latest Grafana 7.x releases, template variables SQL queries shall return only scalar types of values, see Altinity#328
- add support Apple M1 ;)
- switch to new grafana plugin Golang SDK, thanks to @bmanth60 and @valeriakononenko for help
- add BasicAuth support for alerts, see Altinity#267
- fix github actions backend build
- fix UNION ALL parsing, see Altinity#319
- fix many issues with alerting
- automate plugin sign process via github actions, fix wrong executable file permissions
- add region support to annotation query, try to fix wrong column orders for table format, fix Altinity#303
- add plugin sign process, fix Altinity#212
- add
DateTime64
support, fix Altinity#292 - add
linux\arm64
backend plugin build - improve ARRAY JOIN parsing, fix Altinity#284
- improve
docker-compose.yaml
add ability to redefineGRAFANA_VERSION
andCLICKHOUSE_VERSION
via environment variableslatest
by default
- add
*.js.map
and*.js
from src and spec folder to .gitignore - don't apply adhoc filters twice when used $adhoc macros, fix Altinity#282
- fix corner case for table format with wrong columns order between meta and data response section, fix Altinity#281
- add trickster to docker-compose environment
- actualize links in README.md
- add "Skip comments" checkbox to query editor to pass SQL comments to server, fix Altinity#265
- add setup notes for Grafana 7.x to README
- add SQL preprocessing logic on browser side with <% js code subset %>, Altinity#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 Altinity#237 - improve alerts json parsing in golang part for case when we have string fields in response which interprets as series name, see Altinity#230
- properly parsing POST queries in golang part of plugin, Altinity#228, thanks @it1804
- fix corner cases for $macro + subquery, see Altinity#276 and Altinity#277
- fix parallel query execution, see Altinity#273
- fix identifiers quotes, see Altinity#276, Altinity#277
- fix plugin.json for pass
grafana-plugin-repository
plugin validator - fix multi-value variables behavior - Altinity#252
- add Vagrantfile for statefull environment and allow to upgrade scenario like grafana 7.1.0 + grafana-cli upgrade-all
- fix Altinity#244
- fix Altinity#243
- add multiple dashboard examples for github issues:
- fix Altinity#240
- fix Altinity#135
- fix Altinity#245
- fix Altinity#238
- fix Altinity#232
- fix Altinity#127
- fix Altinity#141
- add alerts support for Windows and MacOSX
- improve ad-hoc filters for query field values as
SELECT DISTINCT field AS value FROM db.table LIMIT 300
, Altinity#222 - add ability to multiple JOIN parsing Altinity#206
- multiple improvements for docker-compose environments, add automatic dashboards and datasource provisions which help to reproduce most of the corner cases which happens in Grafana + ClickHouse
- apply a workaround for UTC timezone for Date and DateTime columns in grafana dashboards Altinity#117
- clear documentation about timestamp term for $from and $to Altinity#115
- fix AST parsing corner case in
WHERE [test, 'test']
"," was skipped, fix ah-doc ast FROM recursive parsing Altinity#99 - fix corner cases for table functions parsing when adhoc filter applied Altinity#130
- fix multiple grammar issues in README.md
- fix convert rules for Float, Decimal columns from Clickhouse to Grafana Table plugin Altinity#199
- fix corner cases when Grafana Template variable value represented as array of strings Altinity#169
- fix AST parsing corner cases for $macroFunctions correct position for FROM statement Altinity#187
- fix golang alerts for $columns, $perSecond, $perSecondColumns macros Altinity#200
- compatibility with grafana 7.x, please use environment variable
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=vertamedia-clickhouse-datasource
orallow_loading_unsigned_plugins=vertamedia-clickhouse-datasource
in plugins section ofgrafana.ini
Altinity#192 - add grafana 7.x alerting support thanks to Brian Thai https://github.com/bmanth60
- add alias support to $perSecondColumns macro Altinity#193
- Support
custom
variable type and empty values for$conditionalTest
macro Altinity#178 - add docker-compose.yaml to improve local development
- fix AST for corner case when quotes escaped inside quotes Altinity#123, Altinity#195
- fix Altinity#179, add "Extrapolation" checkbox to Query Editor
- Comments not supported by sql language parser #95
- Ad Hoc Filters small adjustments for numeric values
- UI optimizations within Metric builder
- Ad Hoc Filters improvements for complex usage
- Compatibility fix to support grafana 6.4.x
- Ad Hoc Filters fix
- $conditionalTest ALL value option fix
- Add macro
conditionalTest
(thx to @TH-HA) #122 - Add support for connect to Yandex.Cloud ClickHouse (thx to @negasus) #106
- Fix identifier back quoting when there is a function call
- Fix AST parser errors for quotes (thx to @Fiery-Fenix) #128
- Added default database to all requests from datasource options (thx to @Fiery-Fenix) #126
- Drop lodash fcn composition (thx to @simPod) #110
- Cleanup build (thx to @simPod) #112
- Add
timeFilterByColumn
macro (thx to @simPod) #68
- add requestId to queries so that abandoned one are cancelled (thx to @nvartolomei)
- bug with parentheses in
$unescape
macros #90 - bug with treating string as numbers in table view #97
- new $perSecond and $perSecondColumns macros (thx to @simPod) #78 #80
- Date column is now optional #48
- extend queried timerange for queries with round option to provide a graph without gaps in the rightmost and leftmost points #84
- adhocs: check whether it is possibly to apply filters by comparing with parsed query or query builder settings #86
- provide $adhoc macros for using ad-hoc filters in inner queries (thx to @vavrusa)
- allow to set custom query for ad-hoc filter via
adhoc_query_filter
variable - provide new
Round
value$step
for auto-rounding according to graph resolution changes
- annotations support (txh to @atsirin)
- allow to use
$from
and$to
macroses in variable queries - provisioning config example in README
- optimize memory use for range time series (thx to @vavrusa)
- apply ad-hoc filters on inner subqueries (thx to @vavrusa)
- new datasource setting -
default database
. If set it will be prefilled in the query builder, and used to make ad-hoc filters more convenient (thx to @vavrusa) - support wildcard ad-hoc filters for dashboards using multiple tables (thx to @vavrusa)
- parse dimensions from GROUP BY to simplify querying (see piechart and worldmap examples) (thx to @vavrusa)
$timeCol
to$dateCol
renamed to be more clear with column types (thx to @simPod)
- fix broken AST when using nested
SELECT
withoutFROM
statement (#45) - strict statement matching (#44)
- rebuild queries from AST only if adhoc filters were applied
- support
UNION ALL
statements - proper format for
LIMIT N,M
construction (thx to @shankerwangmiao) - update
Show Help
section with $unescape description
- $unescape - unescapes variable value by removing single quotes. Used for multiple-value string variables: "SELECT $unescape($column) FROM requests WHERE $unescape($column) = 5"
- labmda-operator
->
no more breaks while reformatting query
Ad-hoc filters support:
- If there is an Ad-hoc variable, plugin will fetch all columns of all tables of all databases (except system database) as tags.
So in dropdown menu will be options like
database.table.column
- If there are ENUM columns, plugin will fetch their options and use them as tag values
- Plugin will apply Ad-hoc filters to all queries on the dashboard if their settings
$database
and$table
are the same as Ad-hoc'sdatabase.table
- There are no option to apply OR operator for multiple Ad-hoc filters - see grafana/grafana#10918
- There are no option to use IN operator for Ad-hoc filters due to Grafana limitations
- support array indexing int AST
- columns autocompletion in ace-editor
- properly format query with reserved names
- fix #31
- allow rounding with
round
option both time filters: $from and $to
- apply proper value formatting for table format
- commit generated files
- fix error with absent
getCollapsedText
#24 - suppress errors while parsing AST #24
- show generated SQL in textarea #24
- do not round timestamp after converting #25
- increase max-height of query editor
- Ace editor
- ClickHouse function completion (thx to https://github.com/smi2/tabix.ui)