metrics

package
v0.0.0-...-2143b8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL