grafana/public/app/plugins/datasource/postgres
Zoltán Bedi 62c30dea4d
MySQL: Quote identifiers that include special characters (#61135)
* SQL: toRawSQL required and escape table

* Fix autocomplete for MySQL

* Change the way we escape for builder

* Rework escape ident to be smart instead

* Fix A11y for alias

* Add first e2e test

* Add test for code editor

* Add doc

* Review comments

* Move functions to sqlUtil
2023-01-31 18:16:28 +01:00
..
configuration SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
img public: fix codespell issues 2018-04-13 20:31:29 +02:00
datasource.test.ts SQL Datasources: Use health check for config test (#59867) 2022-12-19 17:17:52 +01:00
datasource.ts SQL: Fix code editor for SQL datasources (#58116) 2022-11-23 10:36:07 +01:00
module.ts PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07:00
plugin.json enable logs for postgres data source (#39496) 2022-03-26 11:08:00 +01:00
postgresMetaQuery.ts PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07:00
PostgresQueryModel.ts Scenes: Use @grafana/scenes (#60972) 2023-01-10 03:30:53 -08: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 PostgreSQL: Migrate to React (#52831) 2022-11-02 11:30:35 +07: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/