简体   繁体   中英

Postgresql Monitoring using Grafana

I am very new in Grafana. We have setup grafana and now we want to monitor our postgresql DB using it.

We have created the postgresql datasource and provide all the required detail of our psql DB machine and connection showing ok in Grafana. Now we have imported the Grafana dashboard with id 9948 Dashboard is imported but didn't showing any stats over it.

We are getting the below error:

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

We have installed the collectd also using apt install collectd on DB machine but didn't find any configurable option in collectd.conf file.

Can you please help me.

Thanks.

You need to install the timescaleDB and create the PG extension.

\\c database

CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;

Once done, follow the instructions from following git project.

https://github.com/petercelentanojr/timescaledb_collectd_resources/blob/master/collectd_timescaledb_schema/collectd_timescaledb_bootstrap.sql

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM