mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
f48169633c
* Alphabetized tslint and tsconfig files * Optimized tsconfig files * Optimized editorconfig & prettier config files … to reduce redundancy * Switched to @grafana/tsconfig … and: * de-duped options * removed options with default values * Fixed nasty issue with types for nested slate-react * Replaced TSLint with ESLint * TSLint disables → ESLint disables … also JSHint removals, which haven’t had an affect since it was replaced with TSLint. * Compliances for ESLint, Prettier and TypeScript * Updated lockfile |
||
---|---|---|
.. | ||
img | ||
partials | ||
specs | ||
config_ctrl.ts | ||
datasource.ts | ||
meta_query.ts | ||
mode-sql.js | ||
module.ts | ||
plugin.json | ||
postgres_query.ts | ||
query_ctrl.ts | ||
README.md | ||
response_parser.ts | ||
sql_part.ts | ||
types.ts |
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
- Open the side menu by clicking the Grafana icon in the top header.
- In the side menu under the Dashboards link you should find a link named Data Sources.
- Click the + Add data source button in the top header.
- Select PostgreSQL from the Type dropdown.