242 Commits

Author SHA1 Message Date
e76655df43 graph: fixes click after scroll in series override menu
Makes changes to dropdown-typeahead2 so that a css
class for the button can be passed in. Means it can
be used instead of dropdown-typeahead.

Switches to using dropdown-typeahead2 for series_overrides
directive and for the influxdb, mysql and postgres datasources
as it already contains a fix for this issue.

This commit also fixes the index property which
was set using an incorrectly spelled length property in the
series_overrides directive.

Closes #15621
2019-02-25 02:11:28 +01:00
3a53f75ebb update inline documentation 2019-01-28 19:52:35 +01:00
eb6d0e9f51 Merge branch 'master' into develop 2018-12-07 14:59:38 +01:00
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
e544f2bc74 add table support flag for postgres 2018-11-29 10:39:13 +01:00
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
7b656097a7 postgres: use arrow function declaration of interpolateVariable 2018-10-17 13:30:07 +02:00
ec0fd96f08 Use closure for calling interpolateVariable 2018-10-17 12:30:07 +02:00
3932e4db5a Merge remote-tracking branch 'origin/master' into concurrent-sql 2018-10-02 17:44:33 +02:00
12230dfa71 ux: put connection limits under own section 2018-10-02 17:43:15 +02:00
dd09ece8c9 Make max open, max idle connections and connection max life time configurable 2018-10-02 13:42:06 +02:00
9dbdc29118 filter NULL values for column value suggestions 2018-09-26 10:56:25 +02:00
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