Skip to content

[+] add Single Query Details dashboard for Prometheus, relates to #1169#1179

Draft
Bishoywadea wants to merge 8 commits intocybertec-postgresql:masterfrom
Bishoywadea:feat/add-single-query-details-prometheus-dashboard
Draft

[+] add Single Query Details dashboard for Prometheus, relates to #1169#1179
Bishoywadea wants to merge 8 commits intocybertec-postgresql:masterfrom
Bishoywadea:feat/add-single-query-details-prometheus-dashboard

Conversation

@Bishoywadea
Copy link

@Bishoywadea Bishoywadea commented Feb 4, 2026

Add Single Query Details Dashboard for Prometheus

fixes #1169


Description

This PR introduces the Single Query Details dashboard for Prometheus.

Included Panels:

  • Avg Runtime
  • Total Runtime
  • Calls Rate
  • Shared Buffers Hit Ratio
  • Temp Blocks Read/Written
  • Backend Block Read/Write Time
  • % of Total Time in Direct I/O
  • SQL Text
  • Logo Panel

Screenshot

image

@Bishoywadea
Copy link
Author

Hi @0xgouda , i have set up a single-query Prometheus dashboard for review, I only included 2 panels for now to make sure the logic is correct before i build the rest.
if this looks good, I will finish the other panels and your suggestions,
I am planning to finish v12 first to move faster, then i will do all of v11 at once. is that okay with you?

@0xgouda
Copy link
Collaborator

0xgouda commented Feb 5, 2026

Looks good, please continue.

No need to create the dashboard for v11.

@0xgouda 0xgouda self-assigned this Feb 5, 2026
@0xgouda 0xgouda added the dashboards Grafana dashboards related label Feb 5, 2026
@0xgouda 0xgouda marked this pull request as draft February 5, 2026 07:52
@coveralls
Copy link

Pull Request Test Coverage Report for Build 21684561041

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 77.153%

Totals Coverage Status
Change from base Build 21680441287: 0.0%
Covered Lines: 4184
Relevant Lines: 5423

💛 - Coveralls

@Bishoywadea
Copy link
Author

@0xgouda i think it is ready now, unless you need to implement new panels other than the already exiting ones in pg dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboards Grafana dashboards related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Single Query Details prom dashboard

3 participants