IntegrationsCurrently available IntegrationsPostgreSQL Integration

PostgreSQL Integration for Grafana Cloud

PostgreSQL is a free and open-source relational database management system (RDBMS) emphasizing extensibility and SQL compliance. This integration enables the agent to send metrics to Grafana Cloud along with a useful default dashboard for visualization.

Use the walkthrough in Grafana Cloud to install the PostgreSQL Integration.

Post-install configuration for the PostgreSQL Integration

Make sure to change the data_source_names to the addresses of the Postgres servers you want to monitor in the agent config:

integrations:
  postgres_exporter:
    enabled: true
    data_source_names:
      - "postgresql://linus:42secret@localhost:5432/postgres?sslmode=disable"

The example above assumes the database name is postgres, the user linus and the password 42secret.

For a full description of configuration options, see postgres_exporter_config in the Agent documentation.

Video