ankane / pghero

A performance dashboard for Postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slow Queries not showing

jubinmytheen opened this issue · comments

Hi,

I have installed pgHero tool on my server through Docker. And configured multiple databases on the dashboard. Unfortunately, I am not getting slow query details other than one database. The slow query details are showing only on one database. Already configured pg_stat_statements extension on the database.

slow_query_details1
slow_query_not_shown

I have only passed database connection string details through the pghero.yml file. Is there anything need to configure on the config file to show the slow query details?

Thanks!

Hi @jubinmytheen, all checks besides connections (which is instance-wide) will be for the selected database (there's not a global dashboard).

@ankane Thanks for your time. I understood that there is no global dashboard for this. We need to select the database to see the details for that database. In our context, we have added multiple databases to the pgHero, but only one database is returning the slow query details. Other databases are not showing slow query details.
We have already enabled the slow queries on database server. Is there anything specifically to do for showing slow queries?

My bad, misunderstood the issue. You'll need to follow the instructions on the dashboard or here (from the screenshot, it looks like you haven't added it to shared_preload_libraries and restarted).