BuildOnViction / victionchain

The Efficient Blockchain Powered By Proof Of Stake Voting Consensus
https://viction.xyz
GNU Lesser General Public License v3.0
168 stars 85 forks source link

Apply metrics in core/statedb #439

Closed trinhdn2 closed 5 months ago

trinhdn2 commented 9 months ago

Prerequisite

Checklist

Added metrics:

Example of new metrics under prometheus format:

# TYPE state_delete_account gauge
state_delete_account 3

# TYPE state_delete_storage gauge
state_delete_storage 195635

# TYPE state_update_account gauge
state_update_account 1568609

# TYPE state_update_storage gauge
state_update_storage 1623327

References: