Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana/v11.4/datasources/postgres.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/v11.4/datasources/postgres/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
PostgreSQL data source
Grafana includes a built-in PostgreSQL data source plugin, enabling you to query and visualize data from any PostgreSQL-compatible database. You don’t need to install a plugin to add the PostgreSQL data source to your Grafana instance.
Grafana offers several configuration options for this data source as well as a visual and code-based query editor.
Get started with the PostgreSQL data source
The following documents will help you get started with the PostgreSQL data source in Grafana:
After you have configured the data source you can:
- Create a variety of visualizations
- Add annotations
- Set up alerting
- Add transformations
View a PostgreSQL overview on Grafana Play:
With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. This feature can be seen on PostgreSQL Overview.
Was this page helpful?
Related resources from Grafana Labs


