bsc/eth/protocols/trust/metrics.go
2023-08-23 17:46:08 +08:00

14 lines
437 B
Go

package trust
import (
metrics "github.com/ethereum/go-ethereum/metrics"
)
var (
ingressRegistrationErrorName = "eth/protocols/trust/ingress/registration/error"
egressRegistrationErrorName = "eth/protocols/trust/egress/registration/error"
IngressRegistrationErrorMeter = metrics.NewRegisteredMeter(ingressRegistrationErrorName, nil)
EgressRegistrationErrorMeter = metrics.NewRegisteredMeter(egressRegistrationErrorName, nil)
)