(SELECT count(*) AS "Active" FROM pg_catalog.pg_stat_activity sa WHERE state='active'),
...
...
@@ -638,7 +639,8 @@
(SELECT count(*) as "Total" FROM pg_catalog.pg_stat_activity sa)
</query>
</dashboard>
<dashboardid="postgresql.transactionCount"label="Transactions per second"type="histogram"refresh="2"calc="delta">
<dashboardid="postgresql.transactionCount"label="Transactions per second"group="Standard"type="histogram"refresh="2"calc="delta"fetch="columns"showByDefault="true">
<datasourceid="postgresql"/>
<query>
SELECT
(SELECT sum(xact_commit) + sum(xact_rollback) AS "Total" FROM pg_stat_database),