From 97ab640be8dc9e75b097f3b436cc7c95ceb91f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20de=20Kock?= Date: Tue, 3 Oct 2017 08:27:04 +0200 Subject: [PATCH] Change commit and rollback types to "COUNTER" By doing this, munin knows to take the difference of each request, thereby showing you a true commit and rollback "per minute" --- plugins/postgresql/postgresql_transactions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/postgresql/postgresql_transactions b/plugins/postgresql/postgresql_transactions index f13740a5..d5d68a0c 100755 --- a/plugins/postgresql/postgresql_transactions +++ b/plugins/postgresql/postgresql_transactions @@ -33,10 +33,12 @@ if [ "$1" = "config" ]; then echo 'commits.label commits' echo 'commits.min 0' + echo 'commits.type COUNTER' echo 'commits.info Number of transaction commits.' echo 'rollbacks.label rollbacks' echo 'rollbacks.min 0' + echo 'rollbacks.type COUNTER' echo 'rollbacks.info Number of transaction rollbacks.' exit 0 fi