grafana/public/app/plugins/datasource/postgres
Torkel Ödegaard 79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132)
* PanelEdit: Change the meaning of default data source to be just that the default for new panels

* Added migration, and also migration for annotation datasource prop to data source refs

* fix

* Fixing tests

* Fixes to annotation

* Fixing unit test
2022-03-08 08:56:12 +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 DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132) 2022-03-08 08:56:12 +01: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 Postgres: Return tables with hyphenated schemes (#45754) 2022-03-04 09:56:55 +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/