grafana/public/app/plugins/datasource/postgres
Kyle Cunningham 92d92187d9
SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode (#65834)
* Update connection configuration for SQL datasources

* Working auto state for connection numbers

* Add migration

* Use defaults from constants file

* Remove dead code

* Add tests and restructure useMigrateDatabaseField

* Update function names

* Update docs

* Make sure we don't continually issue updates

* Update docs

* Use onOptionsChnage in ConnectionLimits

* Update docs

* Clean up docs

* Update migration

* Fix default values in docs

* Fix spacing issue

* Fix test

* Update default values for SQL connections

* Include consts

* Allow override for default SQL datasource connection parameters

* Fix linter errors

* Remove extra @ts-ignore

* Centralize logic for default values

* Remove debugging

* Remove unecessary function

* Update configuration docs

* minor suggested change

* Fix comment misspelling

* Remove unecessary default setting code

* Update docs to indicate that code was included for backport version

* Remove dead code

---------

Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
2023-04-17 11:44:05 +03:00
..
configuration SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode (#65834) 2023-04-17 11:44:05 +03: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 FieldValues: Use plain arrays instead of Vector (part 1 of 2) (#66187) 2023-04-14 07:36:53 -05: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/