diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-07 15:58:09 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-07 15:58:09 +0200 |
commit | fbc737d6504448af7633412ef56c3cbeb2d28587 (patch) | |
tree | f57c2e17713e30ec8adc912783e90f25e0ab7bf2 /action.c | |
parent | 37107dead1b79e6dfae26cf02864d431e2078916 (diff) | |
download | rsyslog-fbc737d6504448af7633412ef56c3cbeb2d28587.tar.gz rsyslog-fbc737d6504448af7633412ef56c3cbeb2d28587.tar.bz2 rsyslog-fbc737d6504448af7633412ef56c3cbeb2d28587.zip |
experimental: make impstats return delta values where possible
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -382,11 +382,11 @@ actionConstructFinalize(action_t *pThis, struct nvlst *lst) STATSCOUNTER_INIT(pThis->ctrProcessed, pThis->mutCtrProcessed); CHKiRet(statsobj.AddCounter(pThis->statsobj, UCHAR_CONSTANT("processed"), - ctrType_IntCtr, &pThis->ctrProcessed)); + ctrType_IntCtr, CTR_FLAG_RESETTABLE, &pThis->ctrProcessed)); STATSCOUNTER_INIT(pThis->ctrFail, pThis->mutCtrFail); CHKiRet(statsobj.AddCounter(pThis->statsobj, UCHAR_CONSTANT("failed"), - ctrType_IntCtr, &pThis->ctrFail)); + ctrType_IntCtr, CTR_FLAG_RESETTABLE, &pThis->ctrFail)); CHKiRet(statsobj.ConstructFinalize(pThis->statsobj)); |