Skip to content

[+] add links to Single Query Details in Query Perf.. pg dashboard#1235

Merged
0xgouda merged 2 commits intocybertec-postgresql:masterfrom
Bishoywadea:feat/query-linking-query-perf-analysis
Mar 2, 2026
Merged

[+] add links to Single Query Details in Query Perf.. pg dashboard#1235
0xgouda merged 2 commits intocybertec-postgresql:masterfrom
Bishoywadea:feat/query-linking-query-perf-analysis

Conversation

@Bishoywadea
Copy link
Copy Markdown
Contributor

fixes: #1217

@Bishoywadea
Copy link
Copy Markdown
Contributor Author

@0xgouda should i make Query ID field text box as i did in Prom dashboard or not?

@pashagolub pashagolub added the dashboards Grafana dashboards related label Feb 24, 2026
@pashagolub
Copy link
Copy Markdown
Collaborator

Please for dashboards always include screenshots before and after change. It's impossible to judge by JSON diff what's going on. Thanks

@Bishoywadea
Copy link
Copy Markdown
Contributor Author

image (1)

hi @pashagolub, this PR does not modify the dashboard layout, it only adds a "View Query Details" link to the graph, when you click a specific query line, this link forwards you to the Single Query Details dashboard, automatically passing the relevant query_id and dbname as parameters for more investigation

@0xgouda 0xgouda force-pushed the feat/query-linking-query-perf-analysis branch from 5f8a450 to d0246c8 Compare February 24, 2026 22:39
@0xgouda 0xgouda force-pushed the feat/query-linking-query-perf-analysis branch from d0246c8 to 9842b23 Compare March 2, 2026 00:21
- include `min, max, mean` legends and sort desc by max
- show all values from in the tooltip sorted desc
@0xgouda 0xgouda changed the title [+] Add direct query id linking between Query Perf Analysis to Single Query Details in pg dashboard [+] add links to Single Query Details in Query Perf Analysis pg dashboard Mar 2, 2026
@0xgouda 0xgouda changed the title [+] add links to Single Query Details in Query Perf Analysis pg dashboard [+] add links to Single Query Details in Query Perf pg dashboard Mar 2, 2026
@0xgouda 0xgouda changed the title [+] add links to Single Query Details in Query Perf pg dashboard [+] add links to Single Query Details in Query Perf.. pg dashboard Mar 2, 2026
@0xgouda 0xgouda self-assigned this Mar 2, 2026
@0xgouda 0xgouda merged commit 0b00d89 into cybertec-postgresql:master Mar 2, 2026
4 checks passed
@0xgouda
Copy link
Copy Markdown
Collaborator

0xgouda commented Mar 2, 2026

should i make Query ID field text box as i did in Prom dashboard or not?

ok, can you also make the Single Query Details pg dashboard match the new ones in the prom dashboards?

Note: don't take the pg dashboard queries for granted and just copy them, they probably need modifications, see: #1152

@Bishoywadea
Copy link
Copy Markdown
Contributor Author

ok boss i will start working on it

@Bishoywadea Bishoywadea deleted the feat/query-linking-query-perf-analysis branch March 2, 2026 01:27
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 direct query id linking between Query Perf Analysis to Single Query Details in pg dashboard

3 participants