File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 35
35
blocknum=$( grep -oP ' (?<=cardano_node_ChainDB_metrics_blockNum_int )[0-9]+' <<< " ${data}" )
36
36
epochnum=$( grep -oP ' (?<=cardano_node_ChainDB_metrics_epoch_int )[0-9]+' <<< " ${data}" )
37
37
slotnum=$( grep -oP ' (?<=cardano_node_ChainDB_metrics_slotNum_int )[0-9]+' <<< " ${data}" )
38
- uptimens=$( grep -oP ' (?<=cardano_node_metrics_upTime_ns )[0-9]+' <<< " ${data}" )
38
+ uptimens=$( grep -oP ' (?<=rts_gc_wall_ms )[0-9]+' <<< " ${data}" )
39
39
density=$( grep -oP ' (?<=cardano_node_ChainDB_metrics_density_real )[0-9]+' <<< " ${data}" )
40
40
transactions=$( grep -oP ' (?<=cardano_node_metrics_txsProcessedNum_int )[0-9]+' <<< " ${data}" )
41
41
kesperiod=$( grep -oP ' (?<=cardano_node_Forge_metrics_currentKESPeriod_int )[0-9]+' <<< " ${data}" )
60
60
forged=0
61
61
fi
62
62
63
- uptimes=$(( $uptimens / 1000000000 ))
63
+ uptimes=$(( $uptimens / 1000 ))
64
64
min=0
65
65
hour=0
66
66
day=0
You can’t perform that action at this time.
0 commit comments