mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 21:30:42 +01:00
experimental: add pstats data to omkafka test
This commit is contained in:
parent
ab3f4343f0
commit
8ffcb770f6
@ -14,6 +14,7 @@ CLEANFILES=\
|
|||||||
rsyslog.input-symlink.log rsyslog-link.*.log targets \
|
rsyslog.input-symlink.log rsyslog-link.*.log targets \
|
||||||
HOSTNAME \
|
HOSTNAME \
|
||||||
rstb_* \
|
rstb_* \
|
||||||
|
zookeeper.pid \
|
||||||
tmp.qi nocert
|
tmp.qi nocert
|
||||||
|
|
||||||
CLEANFILES+= \
|
CLEANFILES+= \
|
||||||
|
|||||||
@ -26,6 +26,10 @@ create_kafka_topic $RANDTOPIC '.dep_wrk' '22181'
|
|||||||
export RSYSLOG_DEBUGLOG="log"
|
export RSYSLOG_DEBUGLOG="log"
|
||||||
generate_conf
|
generate_conf
|
||||||
add_conf '
|
add_conf '
|
||||||
|
# impstats in order to gain insight into error cases
|
||||||
|
module(load="../plugins/impstats/.libs/impstats"
|
||||||
|
log.file="'$RSYSLOG_DYNNAME.pstats'"
|
||||||
|
interval="1" log.syslog="off")
|
||||||
main_queue(queue.timeoutactioncompletion="60000" queue.timeoutshutdown="60000")
|
main_queue(queue.timeoutactioncompletion="60000" queue.timeoutshutdown="60000")
|
||||||
$imdiagInjectDelayMode full
|
$imdiagInjectDelayMode full
|
||||||
|
|
||||||
@ -92,7 +96,10 @@ while [ $timecounter -lt $timeoutend ]; do
|
|||||||
error_exit 1
|
error_exit 1
|
||||||
else
|
else
|
||||||
echo wait-file-lines not yet there, currently $count lines
|
echo wait-file-lines not yet there, currently $count lines
|
||||||
|
printf 'pstats data:\n'
|
||||||
|
cat $RSYSLOG_DYNNAME.pstats
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
|
||||||
$TESTTOOL_DIR/msleep 1000
|
$TESTTOOL_DIR/msleep 1000
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user