[gasoracle]: add metrics for gas oracle
Tri-stone opened this issue · 0 comments
Tri-stone commented
Description
- add metrics for gas oracle
Specific stats
- metrics for L1 base fee, L1 bas price, da fee
- TokenRatioGauge metrics.Gauge
- token_ratio = eth_price / mnt_price
- L1BaseFeeGauge metrics.Gauge
- (l1_base_fee + l1_priority_fee) * token_ratio
- FeeScalarGauge metrics.Gauge
- value to scale the fee up by
- DaFeeGauge metrics.Gauge
- da_fee shows da gas price
- OverHeadGauge metrics.Gauge
- over_head, amortized cost of batch submission per transaction
- L1GasPriceGauge metrics.Gauge
- l1_base_fee + l1_priority_fee
- TokenRatioGauge metrics.Gauge