Add the PostgreSQL data source
PostgreSQL is a built-in core data source in Grafana, so you don’t need to install a plugin. In this milestone, you add the PostgreSQL data source and give it a descriptive name.
Let’s walk through the steps together.
In the navigation menu, click Connections > Data sources.
Click Add new data source.
In the Search field, enter
PostgreSQL.From the search results, click PostgreSQL.
To give your data source a descriptive name, click the edit title (pencil) icon next to the name at the top of the page, then enter a name such as
Production PostgreSQL Database.Did you know? The name of the data source is displayed on dashboard panels, so it’s important to choose a meaningful name.
In the next milestone, you’ll configure the connection details and authentication credentials for your PostgreSQL server.