Commit e4067d4c authored by Mark Tyneway's avatar Mark Tyneway

gas-oracle: fix the gas price metric

The `gas-price` metric was renamed to `gas_price`
as using a `-` is invalid syntax in a prometheus metric.

Fixes https://github.com/ethereum-optimism/optimism/issues/1819
parent 24cc2443
---
'@eth-optimism/gas-oracle': patch
---
Fix the gas oracle gas price prometheus metric
......@@ -19,7 +19,7 @@ import (
var (
txSendCounter = metrics.NewRegisteredCounter("tx/send", ometrics.DefaultRegistry)
txNotSignificantCounter = metrics.NewRegisteredCounter("tx/not-significant", ometrics.DefaultRegistry)
gasPriceGauge = metrics.NewRegisteredGauge("gas-price", ometrics.DefaultRegistry)
gasPriceGauge = metrics.NewRegisteredGauge("gas_price", ometrics.DefaultRegistry)
txConfTimer = metrics.NewRegisteredTimer("tx/confirmed", ometrics.DefaultRegistry)
txSendTimer = metrics.NewRegisteredTimer("tx/send", ometrics.DefaultRegistry)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment