Skip to content

Commit

Permalink
Do not display autovacuum workers in the sessions graphs
Browse files Browse the repository at this point in the history
I think it makes sense to keep them only on the vacuum graphs (database
        objects view)
Without this, we get very long "transactions" and xids displayed in the
main graph, and it's confusing
  • Loading branch information
marco44 committed Feb 7, 2025
1 parent 55e8b54 commit 509aba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions powa/sql/views_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ def BASE_QUERY_PGSA_SAMPLE(per_db=False):
AND pgsac.srvid = %(server)s
) AS pgsa_history
{extra}
AND backend_type <> 'autovacuum worker'
) AS pgsa
WHERE number %% ( int8larger((total)/(%(samples)s+1),1) ) = 0
""".format(extra=extra)
Expand Down

0 comments on commit 509aba2

Please sign in to comment.