Repository navigation
Per-role query stats from pg_stat_statements
#1615
marselester
started this conversation in
Ideas
Replies: 1 comment
|
thanks for raising this! I'll definitely take a look on it! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
pgwatch aggregates query stats from every role, so the dashboards can't show how often one role ran a query or how long it took.
Rather than modifying the existing metric we can introduce
stat_statements_by_user:stat_statementswith one row for each roleExample output
Here is the PR marselester#1.
All reactions