1
0
Fork 0
forked from lthn/blockchain

updated munin plugins

This commit is contained in:
cryptozoidberg 2021-06-17 15:53:22 +02:00
parent 584558b9f3
commit 5df4988e6e
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
6 changed files with 11 additions and 6 deletions

View file

@ -3916,8 +3916,13 @@ bool blockchain_storage::add_transaction_from_block(const transaction& tx, const
}
}
TIME_MEASURE_FINISH_PD_COND(need_to_profile, tx_process_inputs);
if(need_to_profile && mixins_count > 0)
if (need_to_profile && mixins_count > 0)
{
m_performance_data.tx_mixin_count.push(mixins_count);
#ifdef _DEBUG
LOG_PRINT_L0("[TX_MIXINS]: " << mixins_count);
#endif
}
//check if there is already transaction with this hash
TIME_MEASURE_START_PD(tx_check_exist);

View file

@ -5,7 +5,7 @@ case $1 in
cat <<'EOM'
graph_title performance_transactions
graph_vlabel mcs
graph_category daemon
graph_category transactions
tx_add_one_tx_time.label tx_add_one_tx_time
tx_add_one_tx_time.draw LINE
tx_append_time.label tx_append_time

View file

@ -5,7 +5,7 @@ case $1 in
cat <<'EOM'
graph_title performance_tranactions_inp
graph_vlabel mcs
graph_category daemon.inp
graph_category transactions.inp
tx_check_inputs_prefix_hash.label prefix_hash
tx_check_inputs_prefix_hash.draw AREA
tx_check_inputs_attachment_check.label attachment_check

View file

@ -5,7 +5,7 @@ case $1 in
cat <<'EOM'
graph_title performance_tranactions_inp.every_inp
graph_vlabel mcs
graph_category daemon.inp
graph_category transactions.inp
tx_check_inputs_loop_kimage_check.label kimage_check
tx_check_inputs_loop_kimage_check.draw AREA
tx_check_inputs_loop_ch_in_val_sig.label ch_in_val_sig

View file

@ -5,7 +5,7 @@ case $1 in
cat <<'EOM'
graph_title performance_tranactions_inp.every_inp.every_key
graph_vlabel mcs
graph_category daemon.inp
graph_category transactions.inp
tx_check_inputs_loop_scan_outputkeys_loop_get_subitem.label get_subitem
tx_check_inputs_loop_scan_outputkeys_loop_get_subitem.draw AREA
tx_check_inputs_loop_scan_outputkeys_loop_find_tx.label find_tx

View file

@ -6,7 +6,7 @@ case $1 in
graph_args --alt-autoscale
graph_title mixins
graph_vlabel mixins
graph_category daemon
graph_category transactions
mixins.label mixins
EOM