64 Commits

Author SHA1 Message Date
1c58202b26 @grafana/ui: Replace various icons using Icon component (#23442)
* Replace icons in dashboard and settings

* Replace icons in alerting

* Update batch of icons

* Implement icons accross various files

* Style updates

* Search: Fix recent and starred icons

* Update styling and details

* Replace new icon created by unicons

* Fix e2e test, styling

* Minor styling updates

Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-04-12 22:20:02 +02:00
1f0e1b33bc Postgres: Add SSL support for datasource (#21341)
* Add SSL certificate/key fields to Postgres data source configuration

Co-authored-by: Edwin Cordeiro <edwin@scordeiro.net>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-09 12:48:29 +02:00
e27ab89aed Postgres/MySQL/MSSQL: Adds support for region annotations (#20752)
Adds support for region annotations in Postgres, MySQL and 
MSSQL data sources by adding a column named timeend to 
annotation query.

Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Closes #20918
Ref #10589
2019-12-13 17:25:36 +01:00
90508cdbf2 Datasource: Support min time interval input in ms (#18719)
* Support min time interval input in ms in SQL datasource settings

* Enable ms in elastic min time interval setup
2019-08-29 09:36:10 +02:00
2596ce5076 Add pattern validation in configs (#16837)
Datasources: Add pattern validation for time input on datasource config pages
2019-05-02 11:02:00 +02:00
150b97692d Use SecretFormField in MSSql and Postgres datasources 2019-03-19 13:40:18 +01:00
e7297fef06 fix: Add class for input fields with help icon to avoid icon hiding the text #15771 2019-03-06 14:45:13 +01:00
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
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
7c78b64a36 Document required order for time series queries (#13204) 2018-09-10 09:33:06 +02:00
a95453036b Add min time interval to postgres datasource 2018-09-05 09:46:22 +02:00
aadff18e94 hide Query Builder button for table panels 2018-08-29 18:38:18 +02:00
1ee91a637f remove min time interval from datasource config 2018-08-29 13:02:25 +02:00
e9ab4feeb0 link to github instead 2018-08-29 09:58:08 +02:00
62d82920e6 improve description for timescaledb option 2018-08-27 23:20:17 +02:00
21e7b0b92d add min interval to postgres datasource 2018-08-25 18:14:39 +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
2606f6e715 use pointer cursor for buttons in query editor 2018-08-15 09:21:17 +02:00
9d022766ee add postgres version to datasource config 2018-08-14 15:45:55 +02:00
15c8ef6c95 Merge branch 'master' into postgres-query-builder 2018-08-14 12:51:03 +02:00
bfe28ee061 Add $__unixEpochGroup macro to postgres datasource 2018-08-13 12:08:14 +02:00
a4a33d80db mention time_bucket in timescaledb tooltip 2018-08-09 17:30:46 +02:00
c3aad10047 change timescaledb to checkbox instead of select 2018-08-09 10:05:35 +02:00
b987aee7cf add timescaledb option to postgres datasource
This adds an option to the postgres datasource config for
timescaledb support. When set to auto it will check for
timescaledb when testing the datasource.

When this option is enabled the $__timeGroup macro will
use the time_bucket function from timescaledb to group
times by an interval.

This also passes the datasource edit control to testDatasource
to allow for setting additional settings, this might be useful
for other datasources aswell which have optional or version
dependant features which can be queried.
2018-08-09 10:05:35 +02:00
3b6454ab88 Merge branch 'master' into postgres-query-builder 2018-08-08 12:09:17 +02:00
52c7edf2f4 rename last fillmode to previous 2018-08-07 21:11:51 +02:00
bfc66a7ed0 add fillmode "last" to sql datasource
This adds a new fill mode last (last observation carried forward) for grafana
to the sql datasources. This fill mode will fill in the last seen value in a
series when a timepoint is missing or NULL if no value for that series has
been seen yet.
2018-08-02 20:35:09 +02:00
67edb9e9fe Merge remote-tracking branch 'upstream/master' into postgres-query-builder 2018-08-02 16:39:27 +02:00
a221d9ec84 add more prominent button for switching edit mode 2018-08-02 09:50:21 +02:00
82c473e3af document $__timeGroupAlias 2018-08-01 21:23:00 +02:00
43295f9c18 remove alias from postgres $__timeGroup macro 2018-08-01 08:50:19 +02:00
6613f11499 Merge remote-tracking branch 'upstream/master' into postgres-query-builder 2018-07-30 15:23:56 +02:00
412bb6acab refactor function handling in query builder 2018-07-29 13:31:50 +02:00
5327580939 refactor column function handling 2018-07-28 21:41:23 +02:00
6ca7a03975 consistent nameing fro group and select 2018-07-28 12:53:36 +02:00
7905c29875 adjust metric prefix code to sql engine refactor 2018-07-27 15:34:04 +02:00
97f24733f5 remove tableschema from query builder ui 2018-07-27 10:58:08 +02:00
b49d10104e add popover for metric column 2018-07-15 19:13:19 +02:00
f85c9c012e refactor adding sqlPart 2018-07-15 12:26:22 +02:00
d7ed706e12 refactor PostgresQueryCtrl and PostgresQuery 2018-07-14 20:28:34 +02:00
c604651092 fix group by ui 2018-07-05 10:19:22 +02:00
ced0a5828f rearrange elements of query builder 2018-07-04 11:56:26 +02:00
410449b5e7 use sqlPart for ui parts 2018-06-30 11:11:34 +02:00
a5bcd8eac0 fix metric column when using group by 2018-05-21 12:10:18 +02:00
de9a117dc6 use sql part component 2018-05-21 11:04:52 +02:00
1dd2bce054 Merge remote-tracking branch 'upstream/master' into postgres-query-builder 2018-05-05 13:33:54 +02:00
3a5d1f4594 tsdb: update query and annotation editor help texts for postgres
In addition to closing #11578
2018-04-16 23:56:14 +02:00