Grafana: Connecting Grafana to PostgreSQL
This documentation is part of the Getting started guide. View the full guide here: How to get started with Grafana.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Grafana cloud solution that provides a host of benefits, including:
- Unlimited users, dashboards, and alerts.
- Unlimited and dedicated SMTP email server included.
- Plugins installable in one click.
- Seamless SSO support, compatible with
GitLab,GitHub,OAuth2protocols.- Effortless updates with just a click.
- Customizable domain name secured with HTTPS (for example, https://grafana.your-company.com).
- Optimal performance and robust security powered by a private and dedicated VM.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Grafana cloud hosting solution!
Log in to your Grafana web panel and navigate to Configuration / Data sources / Add a data source.
Select the data source labeled "PostgreSQL" and complete the form with the following information:
- In "Host", enter your PostgreSQL service domain (for example,
<XXXXXX>.stackhero-network.com:5432). - In "Database", enter your PostgreSQL database name (by default, this is
admin). - In both "User" and "Password", enter your PostgreSQL credentials (the default user is
adminand the password is the one specified in your PostgreSQL service configuration).
PostgreSQL data source configuration