Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
Dominik Henneke
b450b778cb
Use buildTableConstraint instead of buildSchemaConstraint to find the datatype of a column if using a table from a different database schema
2018-12-04 19:26:12 +01:00
Erik Sundell
e544f2bc74
add table support flag for postgres
2018-11-29 10:39:13 +01:00
Sven Klemm
f608340c35
Add delta window function to postgres query builder
...
Unlike the increase function delta doesn't check for resets
and can go negative. This is similar to the prometheus delta
function.
2018-10-31 19:26:18 +01:00
Marcus Efraimsson
7b656097a7
postgres: use arrow function declaration of interpolateVariable
2018-10-17 13:30:07 +02:00
Sven Klemm
ec0fd96f08
Use closure for calling interpolateVariable
2018-10-17 12:30:07 +02:00
Marcus Efraimsson
3932e4db5a
Merge remote-tracking branch 'origin/master' into concurrent-sql
2018-10-02 17:44:33 +02:00
Marcus Efraimsson
12230dfa71
ux: put connection limits under own section
2018-10-02 17:43:15 +02:00
Axel Pirek
dd09ece8c9
Make max open, max idle connections and connection max life time configurable
2018-10-02 13:42:06 +02:00
Sven Klemm
9dbdc29118
filter NULL values for column value suggestions
2018-09-26 10:56:25 +02:00
Sven Klemm
e07513bd65
Don't use unnest in queries for redshift compatibility
2018-09-19 10:59:25 +02:00
Marcus Efraimsson
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
Marcus Efraimsson
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
Sven Klemm
7c78b64a36
Document required order for time series queries ( #13204 )
2018-09-10 09:33:06 +02:00
Sven Klemm
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
Sven Klemm
6b863e3b0f
Fix quoting to handle non-string values
2018-09-07 10:21:10 +02:00
Marcus Efraimsson
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
Patrick O'Carroll
25f13bd3ad
added only-arrow-functions rule and changed files to follow new rule ( #13154 )
2018-09-05 15:28:30 +02:00
Sven Klemm
e2c7b010ac
fix test failures for timeInterval
2018-09-05 10:03:16 +02:00
Sven Klemm
a95453036b
Add min time interval to postgres datasource
2018-09-05 09:46:22 +02:00
Patrick O'Carroll
0f326f18dc
changed functions to arrowfunctions for only-arrow-functions rule ( #13127 )
2018-09-04 15:55:41 +02:00
Sven Klemm
de917dfc4d
Merge branch 'master' into postgres-query-builder
2018-09-03 13:43:58 +02:00
Patrick O'Carroll
b8d82df97e
added no-angle-bracket-type-assertion rule and updatet files to follow rule ( #13115 )
2018-09-03 11:30:44 +02:00
Sven Klemm
265d5daf57
Merge branch 'master' into postgres-query-builder
2018-08-31 19:02:46 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Sven Klemm
d5cdeebf23
reset metric column when changing table
2018-08-30 15:46:57 +02:00
Sven Klemm
1cac061448
fix timeFilter resetting when changing table
2018-08-30 15:39:01 +02:00
Marcus Efraimsson
5ceaa21e3b
when changing table, refresh panel once after columns have been changed
2018-08-30 15:11:54 +02:00
Sven Klemm
a06a6b6517
fix timecolumn handling when table changes
2018-08-30 14:25:27 +02:00
Sven Klemm
015909dbff
set default for timeGroup in query builder to $__interval
2018-08-30 14:16:42 +02:00
Sven Klemm
483f6cc5e1
when changing table reset columns
2018-08-30 14:11:53 +02:00
Sven Klemm
be978d1a8f
fix metric column suggestions
2018-08-30 14:09:47 +02:00
Sven Klemm
e2c3b6c6c5
fix suggestions for metric column
2018-08-30 13:05:16 +02:00
Sven Klemm
aadff18e94
hide Query Builder button for table panels
2018-08-29 18:38:18 +02:00
Sven Klemm
a87b27c7d3
check for correct quoting of multiple singlequotes
2018-08-29 16:50:59 +02:00
Sven Klemm
70daa56a31
Merge branch 'master' into postgres-query-builder
2018-08-29 14:44:23 +02:00
Patrick O'Carroll
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
Sven Klemm
1ee91a637f
remove min time interval from datasource config
2018-08-29 13:02:25 +02:00
Sven Klemm
0b74ff5cf1
remove unneeded queryOptions
2018-08-29 12:51:58 +02:00
Sven Klemm
7a5b5906ed
fix quoting
2018-08-29 12:24:28 +02:00
Sven Klemm
bfac6303d0
strip quotes when auto adding alias
2018-08-29 12:16:07 +02:00
Sven Klemm
ab4fbff454
handle quoting properly for table suggestion
2018-08-29 12:12:11 +02:00
Sven Klemm
e9ab4feeb0
link to github instead
2018-08-29 09:58:08 +02:00
Sven Klemm
955e5afa45
recheck timecolumn when changing table
2018-08-29 09:51:01 +02:00
Sven Klemm
84ec1ce624
update filter macro on time column change
2018-08-29 09:04:33 +02:00
Sven Klemm
30fce34d9c
make default mode for table panels raw editor
2018-08-28 12:10:55 +02:00
Sven Klemm
62d82920e6
improve description for timescaledb option
2018-08-27 23:20:17 +02:00
Sven Klemm
7177f19436
Merge branch 'master' into postgres-query-builder
2018-08-27 11:23:55 +02:00
Sven Klemm
da8696ed95
fix handling of variable interpolation for IN expresions
2018-08-26 22:43:03 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00