grafana/public/app/plugins/datasource/postgres
Victor Marin 02a8bc76d2
SQL Datasources: Fix variable throwing error if query returns no data (#65937)
* Fix SQL query variable throwing error if query returns no data

* Tests to verify that metricFindQuery returns properly and doesn't throw error

* Fix all codepaths that might throw errors because of undefined backendSrv response
2023-04-11 15:54:55 +03:00
..
configuration Plugins: Add sql support for the secure socks proxy (#64630) 2023-03-16 06:54:19 -06:00
img public: fix codespell issues 2018-04-13 20:31:29 +02:00
CheatSheet.tsx SQL Datasources: Add back help content (#65383) 2023-03-30 10:19:30 +02:00
datasource.test.ts SQL Datasources: Fix variable throwing error if query returns no data (#65937) 2023-04-11 15:54:55 +03:00
datasource.ts SQL Datasources: Fix variable throwing error if query returns no data (#65937) 2023-04-11 15:54:55 +03:00
module.ts SQL Datasources: Add back help content (#65383) 2023-03-30 10:19:30 +02:00
plugin.json enable logs for postgres data source (#39496) 2022-03-26 11:08:00 +01:00
postgresMetaQuery.ts MSSQL/Postgres: List views in table dropdown as well (#62867) 2023-02-06 15:16:32 +01:00
PostgresQueryModel.ts Update scenes to 0.2 (#65676) 2023-03-31 00:59:06 -07:00
QueryEditor.tsx PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07: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
sqlCompletionProvider.ts SQL: Fix code editor for SQL datasources (#58116) 2022-11-23 10:36:07 +01:00
sqlUtil.ts MySQL: Quote identifiers that include special characters (#61135) 2023-01-31 18:16:28 +01:00
types.ts Plugins: Add sql support for the secure socks proxy (#64630) 2023-03-16 06:54:19 -06: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/