2024-05-20 10:22:04 +08:00
|
|
|
package ethdb
|
|
|
|
|
|
|
|
import "github.com/ethereum/go-ethereum/metrics"
|
|
|
|
|
|
|
|
var (
|
|
|
|
EthdbGetTimer = metrics.NewRegisteredTimer("ethdb/get/time", nil)
|
2024-05-20 20:30:38 +08:00
|
|
|
EthdbInnerGetTimer = metrics.NewRegisteredTimer("ethdb/inner/get/time", nil)
|
2024-05-20 10:22:04 +08:00
|
|
|
EthdbPutTimer = metrics.NewRegisteredTimer("ethdb/put/time", nil)
|
|
|
|
EthdbDeleteTimer = metrics.NewRegisteredTimer("ethdb/delete/time", nil)
|
|
|
|
EthdbBatchWriteTimer = metrics.NewRegisteredTimer("ethdb/batch/write/time", nil)
|
|
|
|
)
|