e07513bd65
Don't use unnest in queries for redshift compatibility
2018-09-19 10:59:25 +02:00
3fe3f3741f
Merge pull request #13200 from svenklemm/postgres-query-builder-fixes
...
Fix query builder queries for interval start
2018-09-10 13:01:17 +02:00
227bf85e5e
Merge pull request #13184 from svenklemm/postgres-interval_ms
...
Fix postgres quoting to handle non-string values
2018-09-10 12:43:10 +02:00
7c78b64a36
Document required order for time series queries ( #13204 )
2018-09-10 09:33:06 +02:00
116fb50530
Fix query builder queries for interval start
...
This changes the rate and increase queries to not calculate
a value when there is no previous value. This also adds an
order by metric column to prevent inconsistent series ordering
in the legend.
2018-09-08 08:28:15 +02:00
6b863e3b0f
Fix quoting to handle non-string values
2018-09-07 10:21:10 +02:00
26756f86aa
Merge pull request #13148 from svenklemm/postgres-min-interval
...
Add min time interval support for SQL datasources
2018-09-06 14:05:39 +02:00
25f13bd3ad
added only-arrow-functions rule and changed files to follow new rule ( #13154 )
2018-09-05 15:28:30 +02:00
e2c7b010ac
fix test failures for timeInterval
2018-09-05 10:03:16 +02:00
a95453036b
Add min time interval to postgres datasource
2018-09-05 09:46:22 +02:00
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
de917dfc4d
Merge branch 'master' into postgres-query-builder
2018-09-03 13:43:58 +02:00
b8d82df97e
added no-angle-bracket-type-assertion rule and updatet files to follow rule ( #13115 )
2018-09-03 11:30:44 +02:00
265d5daf57
Merge branch 'master' into postgres-query-builder
2018-08-31 19:02:46 +02:00
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
d5cdeebf23
reset metric column when changing table
2018-08-30 15:46:57 +02:00
1cac061448
fix timeFilter resetting when changing table
2018-08-30 15:39:01 +02:00
5ceaa21e3b
when changing table, refresh panel once after columns have been changed
2018-08-30 15:11:54 +02:00
a06a6b6517
fix timecolumn handling when table changes
2018-08-30 14:25:27 +02:00
015909dbff
set default for timeGroup in query builder to $__interval
2018-08-30 14:16:42 +02:00
483f6cc5e1
when changing table reset columns
2018-08-30 14:11:53 +02:00
be978d1a8f
fix metric column suggestions
2018-08-30 14:09:47 +02:00
e2c3b6c6c5
fix suggestions for metric column
2018-08-30 13:05:16 +02:00
aadff18e94
hide Query Builder button for table panels
2018-08-29 18:38:18 +02:00
a87b27c7d3
check for correct quoting of multiple singlequotes
2018-08-29 16:50:59 +02:00
70daa56a31
Merge branch 'master' into postgres-query-builder
2018-08-29 14:44:23 +02:00
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
1ee91a637f
remove min time interval from datasource config
2018-08-29 13:02:25 +02:00
0b74ff5cf1
remove unneeded queryOptions
2018-08-29 12:51:58 +02:00
7a5b5906ed
fix quoting
2018-08-29 12:24:28 +02:00
bfac6303d0
strip quotes when auto adding alias
2018-08-29 12:16:07 +02:00
ab4fbff454
handle quoting properly for table suggestion
2018-08-29 12:12:11 +02:00
e9ab4feeb0
link to github instead
2018-08-29 09:58:08 +02:00
955e5afa45
recheck timecolumn when changing table
2018-08-29 09:51:01 +02:00
84ec1ce624
update filter macro on time column change
2018-08-29 09:04:33 +02:00
30fce34d9c
make default mode for table panels raw editor
2018-08-28 12:10:55 +02:00
62d82920e6
improve description for timescaledb option
2018-08-27 23:20:17 +02:00
7177f19436
Merge branch 'master' into postgres-query-builder
2018-08-27 11:23:55 +02:00
da8696ed95
fix handling of variable interpolation for IN expresions
2018-08-26 22:43:03 +02:00
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
21e7b0b92d
add min interval to postgres datasource
2018-08-25 18:14:39 +02:00
02c5d36c0b
fix tableSegment and timeColumnSegment after table suggestion
2018-08-21 20:12:45 +02:00
e04127e430
unify quoting
2018-08-18 16:09:12 +02:00
49319fbdea
prefill editor with first metric table
2018-08-18 13:21:08 +02:00
ff2564900f
only allow 1 filter macro in where clause
2018-08-18 12:34:19 +02:00
c1890dbb6d
fix timeColumnType assignment
2018-08-18 12:28:05 +02:00
9699d7a166
make suggested filter macro depend on type
2018-08-18 12:11:10 +02:00
18ce6fc280
use unixEpochGroup macro for unix timestamp
2018-08-18 12:04:32 +02:00
998bb6ebe3
Merge branch 'master' into postgres-query-builder
2018-08-18 11:54:39 +02:00
313a8bd033
Merge pull request #12891 from svenklemm/unixepochgroup
...
add $__unixEpochGroup and $__unixEpochGroupAlias to sql datasources
2018-08-17 14:41:33 +02:00