Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIdType ¶
type BlockIdType string
var ( MetricsNamespace = "blob_api" BlockIdTypeHash BlockIdType = "hash" BlockIdTypeBeacon BlockIdType = "beacon" BlockIdTypeInvalid BlockIdType = "invalid" )
type Metricer ¶
type Metricer interface { Registry() *prometheus.Registry RecordBlockIdType(t BlockIdType) }
func NewMetrics ¶
func NewMetrics() Metricer
Click to show internal directories.
Click to hide internal directories.