Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Connect Postgresql database to Grafana Dashboard using Postgres Exporter #989

Open
paldapd opened this issue Dec 27, 2023 · 1 comment

Comments

@paldapd
Copy link

paldapd commented Dec 27, 2023

Hello, I'm creating a dashboard database using Postgres Exporter, Prometheus, and Grafana. But it seems the database is not connected to the grafana dashboard because there is no data and the database not appear on dashboard. Then i check Prometheus, there is no query for pg_stat?
The only queries available are pg_exporter_last_scrape_duration_seconds, pg_up, pg_exporter_last_scrape_error, pg_exporter_scrapes_total.
So basically, I'm missing some metrics from the PostgreSQL exporter.
Can anyone help me on how to resolve this? Thank you.

postgres database
prometheus postgres

@vanallam
Copy link

I faced the same problem and I solved it after giving postgres_exporter the correct configs, so look at postgres_exporter logs it will help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants