fuel-core icon indicating copy to clipboard operation
fuel-core copied to clipboard

Develop `fuel-metrics` crate

Open ControlCplusControlV opened this issue 3 years ago • 2 comments

Develop a fuel-metrics crate to handle tracking and metrics for each associated fuel service. This involves breaking out the existing fuel-core database metrics into this new crate. This also means

Fuel-p2p

  • [ ] - Track maybe amount of p2p messages
  • [ ] - Unique peers connected to
  • [ ] - Track Transactions from peers

Fuel-txpool

  • [x] - Average and Median Gas Price of a Tx
  • [ ] - Number of Pending Transactions
  • [ ] - Average Lifespan of a transaction
  • [x] - Average Gas of a Transaction
  • [x] - Median Transaction size

ControlCplusControlV avatar Jul 11 '22 20:07 ControlCplusControlV

Some additional metrics that would be useful

Block Stats (executor):

  • [ ] histogram: block execution duration
  • [ ] histogram: gas per block
  • [ ] histogram: fee/coinbase per block
  • [ ] histogram: txs per block
  • [ ] histogram: I/O (db) time per block

Voxelot avatar Sep 08 '22 05:09 Voxelot

Related #680

ControlCplusControlV avatar Oct 06 '22 20:10 ControlCplusControlV

@ControlCplusControlV since this is marked as done, we should split the remaining metrics that aren't being collected yet into follow-up tasks.

Voxelot avatar Nov 28 '22 21:11 Voxelot

#807 #808

ControlCplusControlV avatar Dec 01 '22 05:12 ControlCplusControlV