2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

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"
This commit is contained in:
André de Kock 2017-10-03 08:27:04 +02:00 committed by Lars Kruse
parent d885345ecf
commit 97ab640be8

View File

@ -33,10 +33,12 @@ if [ "$1" = "config" ]; then
echo 'commits.label commits' echo 'commits.label commits'
echo 'commits.min 0' echo 'commits.min 0'
echo 'commits.type COUNTER'
echo 'commits.info Number of transaction commits.' echo 'commits.info Number of transaction commits.'
echo 'rollbacks.label rollbacks' echo 'rollbacks.label rollbacks'
echo 'rollbacks.min 0' echo 'rollbacks.min 0'
echo 'rollbacks.type COUNTER'
echo 'rollbacks.info Number of transaction rollbacks.' echo 'rollbacks.info Number of transaction rollbacks.'
exit 0 exit 0
fi fi