grafana/public/app/plugins/datasource/postgres
matt abrams c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled (#45993)
* add timescaleDB checker function

* use existing fn findAggregateIndex

* build options from empty list

* refactor fn and handle state for existing elem

* remove newline
2022-03-03 09:29:37 +01:00
..
img public: fix codespell issues 2018-04-13 20:31:29 +02:00
partials Accessibility Fixes for Several SQL Based Query Editors (#43981) 2022-01-19 15:56:33 -06:00
specs Postgres/MySQL/MSSQL: Remove usage of legacy timeSrv (#45241) 2022-02-11 13:36:11 +01:00
config_ctrl.ts Change PostgeSQL version selector (#37166) 2021-07-23 16:29:46 -07:00
datasource.test.ts Postgres: Fix test datasource always returns success (#43762) 2022-01-07 10:39:25 +01:00
datasource.ts TemplateSrv: exposing a function to detect if a target contains a template (#45214) 2022-02-15 08:53:42 +01:00
meta_query.ts PostgreSQL: include numeric column type in Query Builder metaquery (#43445) 2022-01-07 10:32:46 +01:00
mode-sql.js Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
module.ts SQL data sources: Convert to return data frames (#32257) 2021-05-05 16:46:07 +02:00
plugin.json Plugins: Set backend metadata property for core plugins (#43349) 2021-12-22 17:59:26 +01:00
postgres_query_model.ts SQL data sources: Convert to return data frames (#32257) 2021-05-05 16:46:07 +02:00
query_ctrl.ts Postgres: Fix aggregate dropdown when TimescaleDB is enabled (#45993) 2022-03-03 09:29:37 +01:00
README.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
response_parser.ts Annotations: Fix sql annotation parsing for empty responses (#35367) 2021-06-09 21:14:28 +08:00
sql_part.ts Postgres: Fix aggregate dropdown when TimescaleDB is enabled (#45993) 2022-03-03 09:29:37 +01:00
types.ts SQL data sources: Convert to return data frames (#32257) 2021-05-05 16:46:07 +02:00

Grafana PostgreSQL Data Source - Native Plugin

Grafana ships with a built-in PostgreSQL data source plugin that allows you to query and visualize data from a PostgreSQL compatible database.

Adding the data source

  1. Open the side menu by clicking the Grafana icon in the top header.
  2. In the side menu under the Dashboards link you should find a link named Data Sources.
  3. Click the + Add data source button in the top header.
  4. Select PostgreSQL from the Type dropdown.

http://docs.grafana.org/features/datasources/postgres/