grafana/public/app/plugins/datasource/postgres
Hugo Häggmark ceb9f0855b
Chore: Replaces moment with Grafanas DateTime (#16919)
* Wip: Initial commit

* Refactor: Replaces moment.utc(

* Refactor: replaces the last isMoment statements

* Refactor: Removes almost all moment imports

* Refactor: Moves moment_wrapper to grafana/ui

* Refactor: Renames momentWrapper

* Refactor: Removes one more moment import

* Refactor: Removes unitOfTime import

* Fix: Fixes Prettier error

* Refactor: Renames DateTimeType to DateTime

* Refactor: Renames isDateTimeType to isDateTime

* Refactor: Renames dateTime to dateTime

* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
..
img public: fix codespell issues 2018-04-13 20:31:29 +02:00
partials Add pattern validation in configs (#16837) 2019-05-02 11:02:00 +02:00
specs Chore: Replaces moment with Grafanas DateTime (#16919) 2019-05-08 13:51:44 +02:00
config_ctrl.ts Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
datasource.ts use default min interval of 1m for sql datasources 2019-03-05 15:03:15 +01:00
meta_query.ts Use buildTableConstraint instead of buildSchemaConstraint to find the datatype of a column if using a table from a different database schema 2018-12-04 19:26:12 +01:00
mode-sql.js Postgres Data Source (#9475) 2017-10-10 15:19:14 +02:00
module.ts Merge branch 'master' into postgres-query-builder 2018-08-31 19:02:46 +02:00
plugin.json cleanup plugin versions 2019-03-05 23:40:03 -08:00
postgres_query.ts Chore: Adds typings to lodash (#16590) 2019-04-15 12:11:52 +02:00
query_ctrl.ts Chore: Adds typings to lodash (#16590) 2019-04-15 12:11:52 +02:00
README.md plugins: update meta data for all core plugins 2018-02-15 16:50:38 +01:00
response_parser.ts changed var to const 2 (#13068) 2018-08-29 14:27:29 +02:00
sql_part.ts Add delta window function to postgres query builder 2018-10-31 19:26:18 +01: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/