Sven Klemm
731c7520b3
return values quotes for suggestions in where expression
2018-05-19 15:34:48 +02:00
Sven Klemm
1dd2bce054
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-05-05 13:33:54 +02:00
Marcus Efraimsson
3a5d1f4594
tsdb: update query and annotation editor help texts for postgres
...
In addition to closing #11578
2018-04-16 23:56:14 +02:00
Sven Klemm
4599329683
set default for sslmode to verify-full in postgres datasource editor ( #11615 )
2018-04-16 22:23:24 +02:00
Mario Trangoni
e5e6bc56c8
public: fix codespell issues
2018-04-13 20:31:29 +02:00
Sven Klemm
fa170b3cc6
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-03-28 20:43:15 +02:00
Sven Klemm
8b3c308168
remove categories from queryPart
2018-03-26 20:15:16 +02:00
Sven Klemm
d6ac7aee89
remove unused import
2018-03-26 18:50:03 +02:00
Sven Klemm
6c2ef7dca6
handle aggregate functions more generic
2018-03-26 18:34:40 +02:00
Sven Klemm
12600a0e95
support non-nested menu entries
2018-03-26 13:19:14 +02:00
Marcus Efraimsson
66c03f84f5
postgres: fix precision for the time column in table/annotation query mode
...
Use the ConvertSqlTimeColumnToEpochMs function to convert any native
datetime data type or epoch time (millisecond precision).
Additional tests and update of existing due to timezone issues
running postgres on UTC and dev environment on non-utc.
Added test dashboard.
2018-03-22 15:32:33 +01:00
Sven Klemm
46c229188e
read aggregate functions from database
2018-03-14 23:03:32 +01:00
Sven Klemm
0c3afd0e9c
add buildAggregateQuery
2018-03-14 22:59:48 +01:00
Sven Klemm
64fa1ce8a0
properly handle IN queries
2018-03-14 18:09:47 +01:00
Sven Klemm
6793fa5e54
join multivalue variables with ,
2018-03-13 23:33:40 +01:00
Sven Klemm
e6501f0f0e
revert special handling for IN
2018-03-13 23:24:26 +01:00
Sven Klemm
5e9a66de5f
put values for IN in parens
2018-03-13 23:19:56 +01:00
Sven Klemm
958646d976
dont quote where constraints
2018-03-13 23:15:25 +01:00
Sven Klemm
b7c7030a46
add regex operators
2018-03-13 23:06:39 +01:00
Sven Klemm
cdb4e2ba0b
remove unused setting
2018-03-13 21:31:07 +01:00
Sven Klemm
e780b1bce5
cleanup where segment handling
2018-03-11 12:06:54 +01:00
Sven Klemm
0b358ff5f3
remove limit
2018-03-10 22:39:42 +01:00
Sven Klemm
cb5278d413
handle variables in where constraints
2018-03-10 20:18:03 +01:00
Sven Klemm
1d8540ac69
properly quote where constraint parts
2018-03-09 18:18:12 +01:00
Sven Klemm
340f679d0f
quote schema and table
2018-03-09 18:09:59 +01:00
Sven Klemm
83200c289a
use metricColumn in query builder
2018-03-04 23:32:23 +01:00
Sven Klemm
bf4a30d30f
set rawSQL when rendering query builder query
2018-03-04 19:46:11 +01:00
Sven Klemm
26e09b598c
fix group by column
2018-03-04 19:35:43 +01:00
Sven Klemm
e8c6341fed
clean up aggregation functions
2018-03-04 10:18:11 +01:00
Sven Klemm
7104e6f9f8
fix variable interpolation
2018-03-03 22:11:51 +01:00
Sven Klemm
fd518846b1
rename field to column
2018-03-03 20:57:00 +01:00
Sven Klemm
c5de5ed5be
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-02-21 08:24:04 +01:00
Daniel Lee
6fa46d9539
plugins: update meta data for all core plugins
...
So that the readme's can be published on Grafana.com
2018-02-15 16:50:38 +01:00
Carl Bergquist
fcca578f41
updates readmes for mysql and postgres ( #10913 )
...
ref #10813
2018-02-15 09:38:39 +01:00
Sven Klemm
ef18eb7fcb
add where constraint handling
2018-02-08 10:25:32 +01:00
Sven Klemm
3bce45d8a6
add query_builder
2018-02-08 10:19:43 +01:00
Sven Klemm
382a525477
make metricColumn functional
2018-02-03 18:26:57 +01:00
Sven Klemm
c65a964cdd
add metric column selector
2018-02-03 18:03:00 +01:00
Sven Klemm
4dbd83fac1
add groupby to querybuilder
...
remove unused aggregations
2018-01-31 15:32:32 +01:00
Sven Klemm
571ecdc740
enhance render function
2018-01-30 22:57:38 +01:00
Sven Klemm
443504517a
add postgres_query.ts
2018-01-30 22:13:55 +01:00
Sven Klemm
438b10bcd6
query builder changes
2018-01-30 14:10:38 +01:00
Sven Klemm
a59e052a0f
more query builder components
2018-01-30 14:08:10 +01:00
Sven Klemm
17be31e216
call render in query
2018-01-28 22:16:51 +01:00
Sven Klemm
33ac22bfdb
start query builder ui
2018-01-21 22:08:18 +01:00
Torkel Ödegaard
27835f373e
cleanup: removed unused typescript typings import
2018-01-04 10:12:02 +01:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00
Sven Klemm
ce809de1ed
postgres: change $__timeGroup macro to include "AS time" column alias ( #10119 )
...
* change $__timeGroup macro to include column alias
* update docs and help text for $__timeGroup macro
2017-12-08 15:14:10 +01:00