Postgresql stats dashboard

Hello Team,

We have installed and configured the Grafana over Ubuntu18.04. Now we want to monitor our postgresql database with the help of Grafana. We have added the data source using postgresql plugin and its showing the connection status ok. Please refer the below screenshot:

We integrate Postgresql machine directly with Grafana using postgresql plugin.

But now we want to monitor the stats of our postgresql database over grafana dashboard. We have tried to create new dashboard but didn’t found any data source with the name psql.

Note:- psql is the data sources name given by us.

Please help me how we can monitor the postgresql stats over grafana. May be its very easy but i am very new in grafana. Any help will be appreciated.

Thanks.

Hello Team,

Can you please help me on above issue?

Thanks.

Hello Team,

I have imported the dashboard PostgreSQL Infrastructure | Grafana Labs but when i am checking the dashboard didn’t seeing any data over it.

Error pq: relation "collectd" does not exist
Error Templating init failed
pq: relation "identifiers" does not exist

I have installed the collectd package also at postgresql machine. But still getting same error.
Please help me.

Thanks.

Hello Team,

Can you please help me on above issue?

Thanks.

Hello World,

Can you please help me how we can monitor postgresql using Grafana? I have tried all things but no success. I have integrated Zabbix with Grafana and its working fine.

Thanks.

Hi

Try set search_path for your user in Postgres
ALTER ROLE grafana SET search_path TO "namedatabase";